Click or drag to resize

IConfigurationGetBooleanValue 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
bool GetBooleanValue(
	string name,
	bool def
)

Parameters

name
Type: SystemString
The name of the property.
def
Type: SystemBoolean
The default value.

Return Value

Type: Boolean
A boolean or def if the property does not exist, or its value can not be properly converted.
See Also