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

Namespace: ASCOM
Assembly: ASCOM.SettingsProvider (in ASCOM.SettingsProvider.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public override SettingsPropertyValueCollection GetPropertyValues(
	SettingsContext context,
	SettingsPropertyCollection collection
)
Visual Basic
Public Overrides Function GetPropertyValues ( _
	context As SettingsContext, _
	collection As SettingsPropertyCollection _
) As SettingsPropertyValueCollection
Visual C++
public:
virtual SettingsPropertyValueCollection^ GetPropertyValues(
	SettingsContext^ context, 
	SettingsPropertyCollection^ collection
) override

Parameters

context
Type: System.Configuration..::..SettingsContext
Not used.
collection
Type: System.Configuration..::..SettingsPropertyCollection
The list of properties to be retrieved.

Return Value

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