|
INIReaderasInt Method (String, Int32)
|
return value associated to a key as an int
Namespace:
Karamba.Utilities
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic int asInt(
string key,
int default_value
)
Public Function asInt (
key As String,
default_value As Integer
) As Integer
public:
int asInt(
String^ key,
int default_value
)
member asInt :
key : string *
default_value : int -> int
Parameters
- key
- Type: SystemString
key to be searched - default_value
- Type: SystemInt32
default value if key does not exist
Return Value
Type:
Int32int associated to the key or the default value
See Also