SettingsProviderGetPropertyValues Method |
Retrieves a collection of settings values from the underlying ASCOM Profile store.
Namespace:
ASCOM
Assembly:
ASCOM.SettingsProvider (in ASCOM.SettingsProvider.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntax public override SettingsPropertyValueCollection GetPropertyValues(
SettingsContext context,
SettingsPropertyCollection collection
)
Public Overrides Function GetPropertyValues (
context As SettingsContext,
collection As SettingsPropertyCollection
) As SettingsPropertyValueCollection
public:
virtual SettingsPropertyValueCollection^ GetPropertyValues(
SettingsContext^ context,
SettingsPropertyCollection^ collection
) override
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