Click or drag to resize
SettingsProviderInitialize Method
Initializes the ASCOM Settings Provider.

Namespace: ASCOM
Assembly: ASCOM.SettingsProvider (in ASCOM.SettingsProvider.dll) Version: 6.0.0.0 (6.3.0.2839)
Syntax
public override void Initialize(
	string name,
	NameValueCollection config
)

Parameters

name
Type: SystemString
Ignored.
config
Type: System.Collections.SpecializedNameValueCollection
Not used.
Remarks
This method is called by ApplicationSettingsBase to initialize the settings provider. Normally, this will set the provider's ApplicationName property to the assembly name of the application. This is later used to determine the storage location of each of the settings. However, for ASCOM purposes, we can't use the application name and we need to key off the ASCOM DeviceID of the driver, so in ASCOM.SettingsProvider, the application name is set but never used.
See Also