GetPropertyValues Method
Collapse the table of content
Expand the table of content

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
)

Parameters

context
Type: System.Configuration.SettingsContext

A SettingsContext describing the current application use.

collection
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
Show:
© 2016 Microsoft