Click or drag to resize

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)
Syntax
public int asInt(
	string key,
	int default_value
)

Parameters

key
Type: SystemString
key to be searched
default_value
Type: SystemInt32
default value if key does not exist

Return Value

Type: Int32
int associated to the key or the default value
See Also