| PropertyCollectionGetBooleanValue Method (String, Boolean) |
Gets the value of a property as a boolean, or a default value if the
specified property does not exist or its value can not be properly converted.
Namespace:
Mastersign.Bench.PropertyCollections
Assembly:
BenchLib (in BenchLib.dll) Version: 0.22.0.0 (0.22.0.0)
Syntax public bool GetBooleanValue(
string name,
bool def
)
Public Function GetBooleanValue (
name As String,
def As Boolean
) As Boolean
Parameters
- name
- Type: SystemString
The name of the property. - def
- Type: SystemBoolean
The default value.
Return Value
Type:
BooleanA boolean or
def if the property does not exist,
or its value can not be properly converted.
Implements
IConfigurationGetBooleanValue(String, Boolean)See Also