SettingElement 构造函数
定义
初始化 SettingElement 类的新实例。Initializes a new instance of the SettingElement class.
重载
| SettingElement() |
初始化 SettingElement 类的新实例。Initializes a new instance of the SettingElement class. |
| SettingElement(String, SettingsSerializeAs) |
基于所提供的参数初始化 SettingElement 类的新实例。Initializes a new instance of the SettingElement class based on supplied parameters. |
SettingElement()
初始化 SettingElement 类的新实例。Initializes a new instance of the SettingElement class.
public:
SettingElement();
public SettingElement ();
Public Sub New ()
适用于
SettingElement(String, SettingsSerializeAs)
基于所提供的参数初始化 SettingElement 类的新实例。Initializes a new instance of the SettingElement class based on supplied parameters.
public:
SettingElement(System::String ^ name, System::Configuration::SettingsSerializeAs serializeAs);
public SettingElement (string name, System.Configuration.SettingsSerializeAs serializeAs);
new System.Configuration.SettingElement : string * System.Configuration.SettingsSerializeAs -> System.Configuration.SettingElement
Public Sub New (name As String, serializeAs As SettingsSerializeAs)
参数
- name
- String
SettingElement 对象的名称。The name of the SettingElement object.
- serializeAs
- SettingsSerializeAs
SettingsSerializeAs 对象。A SettingsSerializeAs object. 此对象是一个枚举,它用作序列化方案以存储配置设置。This object is an enumeration used as the serialization scheme to store configuration settings.