Static factory method that returns an instance of a configuration object.
public static wwAppConfiguration ReadKeysFromConfig(Type ConfigType)
Return Value
wwAppConfiguration
Parameters
Type ConfigType
The type of the
Remarks
Application must have permissions to read this file. If permissions are not available the default values are returned.
Example
WebStoreConfig Config = (WebStoreConfig) WebStoreConfig.ReadKeysFromConfig("d:\\temp\\test.xml", typeof(WebStoreConfig) ); int ConnectMode = Config.ConnectMode; Config.ConnectMode = 2; ... // *** Filename required unless you set with SetConfigurationFile Config.WriteKeysToConfig();
Overloads:
public Void ReadKeysFromConfig()
public Void ReadKeysFromConfig(String Filename)
public static wwAppConfiguration ReadKeysFromConfig(String Filename,Type ConfigType)
See also:
Class wwAppConfiguration© West Wind Technologies, 1996-2018 • Updated: 04/21/04
Comment or report problem with topic