ApplicationSettingsBase.Providers 属性

定义

获取包装所使用的应用程序设置提供程序的集合。Gets the collection of application settings providers used by the wrapper.

public:
 virtual property System::Configuration::SettingsProviderCollection ^ Providers { System::Configuration::SettingsProviderCollection ^ get(); };
[System.ComponentModel.Browsable(false)]
public override System.Configuration.SettingsProviderCollection Providers { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Providers : System.Configuration.SettingsProviderCollection
Public Overrides ReadOnly Property Providers As SettingsProviderCollection

属性值

SettingsProviderCollection

一个 SettingsProviderCollection,包含当前设置包装的设置属性使用的所有 SettingsProvider 对象。A SettingsProviderCollection containing all the SettingsProvider objects used by the settings properties of the current settings wrapper.

属性

注解

SettingsProviderAttribute确定设置包装器类或单个设置属性所使用的设置提供程序。The SettingsProviderAttribute determines what setting provider is used by a settings wrapper class or an individual setting property. 如果未指定此属性,则客户端应用程序将使用 LocalFileSettingsProviderIf this attribute is not specified, a client application will use the LocalFileSettingsProvider.

适用于

另请参阅