System.Configuration.LocalFileSettingsProvider.GetPropertyValues Method

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

Syntax

[System.MonoTODO]
public override SettingsPropertyValueCollection GetPropertyValues (SettingsContext context, SettingsPropertyCollection properties)

Parameters

context
A System.Configuration.SettingsContext describing the current application usage.
properties
A System.Configuration.SettingsPropertyCollection containing the settings property group whose values are to be retrieved.

Returns

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

Remarks

The LocalFileSettingsProvider.GetPropertyValues(SettingsContext, SettingsPropertyCollection) method also manages the special application settings type SpecialSetting.ConnectionString. Connection strings are stored in a special section of the configuration file delimited by the element <connectionstrings>.

Note:

System.Configuration.LocalFileSettingsProvider does not use encryption to persist any settings. Therefore, do not store plain text passwords or other sensitive information using this provider without taking additional precautions, such as separately encrypting the information within the configuration file. For more information, see Encrypting Configuration Information using Protected Configuration.

Requirements

Namespace: System.Configuration
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0