This documentation is archived and is not being maintained.

SettingsProvider.GetPropertyValues Method

Note: This method is new in the .NET Framework version 2.0.

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

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show: