|
INIReaderasBool Method (String, Boolean)
|
return value associated to a key as a bool.
Namespace:
Karamba.Utilities
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic bool asBool(
string key,
bool default_value
)
Public Function asBool (
key As String,
default_value As Boolean
) As Boolean
public:
bool asBool(
String^ key,
bool default_value
)
member asBool :
key : string *
default_value : bool -> bool
Parameters
- key
- Type: SystemString
key to be searched - default_value
- Type: SystemBoolean
default result if key is not found
Return Value
Type:
Booleantrue if string associated to key is "TRUE". The check is not case sensitive.
See Also