PropertiesGetBoolValue Method (String, Boolean) |
Returns a value as a boolean for a property in the collection. If the property doesn't exist, then the defaultValue is returned.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public bool GetBoolValue(
string name,
bool defaultValue
)
Public Function GetBoolValue (
name As String,
defaultValue As Boolean
) As Boolean
Parameters
- name
- Type: SystemString
The property name. - defaultValue
- Type: SystemBoolean
The default value if the property doesn't exist.
Return Value
Type:
BooleanThe value of the property as a boolean.
See Also