SettingsProvider.GetPropertyValues Method (SettingsContext, SettingsPropertyCollection)


Returns the collection of settings property values for the specified application instance and settings property group.

Namespace:   System.Configuration
Assembly:  System (in System.dll)

public abstract SettingsPropertyValueCollection GetPropertyValues(
	SettingsContext context,
	SettingsPropertyCollection collection


Type: System.Configuration.SettingsContext

A SettingsContext describing the current application use.

Type: System.Configuration.SettingsPropertyCollection

A SettingsPropertyCollection containing the settings property group whose values are to be retrieved.

Return Value

Type: System.Configuration.SettingsPropertyValueCollection

A SettingsPropertyValueCollection containing the values for the specified settings property group.

The GetPropertyValues method must be implemented to handle special settings, those marked with SpecialSettingAttribute, as well as reconcile application and user settings.

.NET Framework
Available since 2.0
Return to top