mscorlib(4.0.0.0) API with additions
System.Configuration.SettingsProvider Class Referenceabstract

Acts as a base class for deriving custom settings providers in the application settings architecture. More...

Inheritance diagram for System.Configuration.SettingsProvider:
[legend]

Public Member Functions

abstract SettingsPropertyValueCollection GetPropertyValues (SettingsContext context, SettingsPropertyCollection collection)
 Returns the collection of settings property values for the specified application instance and settings property group. More...
 
abstract void SetPropertyValues (SettingsContext context, SettingsPropertyValueCollection collection)
 Sets the values of the specified group of property settings. More...
 

Properties

abstract string ApplicationName [get, set]
 Gets or sets the name of the currently running application. More...
 

Detailed Description

Acts as a base class for deriving custom settings providers in the application settings architecture.

Definition at line 6 of file SettingsProvider.cs.

Member Function Documentation

◆ GetPropertyValues()

abstract SettingsPropertyValueCollection System.Configuration.SettingsProvider.GetPropertyValues ( SettingsContext  context,
SettingsPropertyCollection  collection 
)
pure virtual

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

Parameters
contextA T:System.Configuration.SettingsContext describing the current application use.
collectionA T:System.Configuration.SettingsPropertyCollection containing the settings property group whose values are to be retrieved.
Returns
A T:System.Configuration.SettingsPropertyValueCollection containing the values for the specified settings property group.

Implemented in System.Configuration.LocalFileSettingsProvider.

◆ SetPropertyValues()

abstract void System.Configuration.SettingsProvider.SetPropertyValues ( SettingsContext  context,
SettingsPropertyValueCollection  collection 
)
pure virtual

Sets the values of the specified group of property settings.

Parameters
contextA T:System.Configuration.SettingsContext describing the current application usage.
collectionA T:System.Configuration.SettingsPropertyValueCollection representing the group of property settings to set.

Implemented in System.Configuration.LocalFileSettingsProvider.

Property Documentation

◆ ApplicationName

abstract string System.Configuration.SettingsProvider.ApplicationName
getset

Gets or sets the name of the currently running application.

Returns
A T:System.String that contains the application's shortened name, which does not contain a full path or extension, for example, SimpleAppSettings.

Definition at line 11 of file SettingsProvider.cs.


The documentation for this class was generated from the following file: