Click or drag to resize

CategorizedSettingsElementValueAsT Method

Gets the setting value as the specified type.

Namespace: GSF.Configuration
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.239-beta+5928cebde0dd955df84e791f5ea67acbd192773e
Syntax
public T ValueAs<T>()
View Source

Type Parameters

T
Type to which the setting value is to be converted.

Return Value

T
The type-coerced value of the setting.
Remarks
If this function fails to properly coerce value to specified type, the default value is returned.
See Also