SettingsProviderGetPropertyValues Method

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

Definition

Namespace: ASCOM
Assembly: ASCOM.SettingsProvider (in ASCOM.SettingsProvider.dll) Version: 7.1.3+4851.c5da65c2b
C#
public override SettingsPropertyValueCollection GetPropertyValues(
	SettingsContext context,
	SettingsPropertyCollection collection
)

Parameters

context  SettingsContext
Not used.
collection  SettingsPropertyCollection
The list of properties to be retrieved.

Return Value

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