ExtensionMethodsGetInt32 Method
Namespace: Centralpoint.WebAssembly: Centralpoint.Web (in Centralpoint.Web.dll) Version: 1.0.0.0 (1.0.0.0)
public static int GetInt32(
this CpCollection collection,
string id,
int defaultValue = 0
)
<ExtensionAttribute>
Public Shared Function GetInt32 (
collection As CpCollection,
id As String,
Optional defaultValue As Integer = 0
) As Integer
- collection CpCollection
-
- id String
-
- defaultValue Int32 (Optional)
-
Int32In Visual Basic and C#, you can call this method as an instance method on any object of type
CpCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).