|
CategorizedSettingsElementValueAsT Method
|
Gets the setting value as the specified type.
Namespace: GSF.ConfigurationAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.220-beta+a56b2444ff27b37e053039e60f062b99378309bd
Syntax Public Function ValueAs(Of T) As T
public:
generic<typename T>
T ValueAs()
member ValueAs : unit -> 'T
JavaScript does not support generic types or methods.
View SourceType Parameters
- T
- Type to which the setting value is to be converted.
Return Value
TThe 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