Click or drag to resize

PropertyCollectionGetInt32Value Method (String, Int32)

Gets the value of a property as an integer, 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 int GetInt32Value(
	string name,
	int def
)

Parameters

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

Return Value

Type: Int32
An integer or def if the property does not exist, or its value can not be properly converted.

Implements

IConfigurationGetInt32Value(String, Int32)
See Also