SettingsBase.Initialize 方法

定义

初始化 SettingsBase 对象使用的内部属性。

public:
 void Initialize(System::Configuration::SettingsContext ^ context, System::Configuration::SettingsPropertyCollection ^ properties, System::Configuration::SettingsProviderCollection ^ providers);
public void Initialize (System.Configuration.SettingsContext context, System.Configuration.SettingsPropertyCollection properties, System.Configuration.SettingsProviderCollection providers);
member this.Initialize : System.Configuration.SettingsContext * System.Configuration.SettingsPropertyCollection * System.Configuration.SettingsProviderCollection -> unit
Public Sub Initialize (context As SettingsContext, properties As SettingsPropertyCollection, providers As SettingsProviderCollection)

参数

context
SettingsContext

与设置属性相关的设置上下文。

properties
SettingsPropertyCollection

可以从 SettingsBase 实例访问的设置属性。

providers
SettingsProviderCollection

加载和保存属性值时应使用的初始化提供程序。

适用于