| 
            
              CategorizedSettingsElementValueAsT(T) Method
             | 
          
        
        
            Gets the setting value as the specified type.
            
        
        Namespace: GSF.ConfigurationAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
Syntaxpublic T ValueAs<T>(
	T defaultValue
)
Public Function ValueAs(Of T) ( 
	defaultValue As T
) As T
public:
generic<typename T>
T ValueAs(
	T defaultValue
)
member ValueAs : 
        defaultValue : 'T -> 'T JavaScript does not support generic types or methods.
 View SourceParameters
- defaultValue  T
 - The default value to return if the setting value is empty.
 
Type 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