This documentation is archived and is not being maintained.

SettingsProvider.GetPropertyValues Method

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
)
public abstract SettingsPropertyValueCollection GetPropertyValues (
	SettingsContext context, 
	SettingsPropertyCollection collection
)
public abstract function GetPropertyValues (
	context : SettingsContext, 
	collection : SettingsPropertyCollection
) : SettingsPropertyValueCollection
Not applicable.

Parameters

context

A SettingsContext describing the current application use.

collection

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

Return Value

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: