'Declaration
Public Shared Function Get(Of T)( _ ByVal elementName As System.String, _ ByVal propertyName As System.String, _ ByVal defaultValue As T, _ ByVal server As Server _ ) As T
'Usage
Dim elementName As System.String Dim propertyName As System.String Dim defaultValue As T Dim server As Server Dim value As T value = Cfg.Get(Of T)(elementName, propertyName, defaultValue, server)
public static T Get<T>( System.string elementName, System.string propertyName, T defaultValue, Server server )
Parameters
- elementName
- The name of the configuration element.
- propertyName
- The name of the configuration setting.
- defaultValue
- The default value to return if the setting wasn't found.
- server
- The JAMS Server to load settings from.
Type Parameters
- T