Click or drag to resize

SettingsProviderGetPropertyValues Method

Retrieves a collection of settings values from the underlying ASCOM Profile store.

Namespace:  ASCOM
Assembly:  ASCOM.SettingsProvider (in ASCOM.SettingsProvider.dll) Version: 3c9121baba46811fe6e53a58a05935662261416d
Syntax
public override SettingsPropertyValueCollection GetPropertyValues(
	SettingsContext context,
	SettingsPropertyCollection collection
)

Parameters

context
Type: System.ConfigurationSettingsContext
Not used.
collection
Type: System.ConfigurationSettingsPropertyCollection
The list of properties to be retrieved.

Return Value

Type: SettingsPropertyValueCollection
Returns a collection of the retrieved property values as a SettingsPropertyValueCollection.
Remarks
If any properties are absent in the underlying store, or if an error occurs while retrieving them, then the property's default value is used. This will be the case if the driver has never been registered with ASCOM.
See Also