DsPropertyCollectionGetDsScalarValueTValue Method

Gets non-nullable value from property collection. A default value is returned if key doesn't exist in dictionary or actual value is of different type. This method doesn't throw any exceptions.

Definition

Namespace: SysadminsLV.PKI.Management.ActiveDirectory
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public TValue GetDsScalarValue<TValue>(
	string key
)

Parameters

key  String
Specifies the DS attribute name.

Type Parameters

TValue
Destination scalar value type. Can be:

Return Value

TValue
Value that represents requested attribute or default value.

See Also