SettingElement.SerializeAs 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置用于存留 SettingElement 对象的值的序列化机制。
public:
property System::Configuration::SettingsSerializeAs SerializeAs { System::Configuration::SettingsSerializeAs get(); void set(System::Configuration::SettingsSerializeAs value); };
[System.Configuration.ConfigurationProperty("serializeAs", DefaultValue=System.Configuration.SettingsSerializeAs.String, IsRequired=true)]
public System.Configuration.SettingsSerializeAs SerializeAs { get; set; }
public System.Configuration.SettingsSerializeAs SerializeAs { get; set; }
[<System.Configuration.ConfigurationProperty("serializeAs", DefaultValue=System.Configuration.SettingsSerializeAs.String, IsRequired=true)>]
member this.SerializeAs : System.Configuration.SettingsSerializeAs with get, set
member this.SerializeAs : System.Configuration.SettingsSerializeAs with get, set
Public Property SerializeAs As SettingsSerializeAs
属性值
- 属性
注解
对象 SettingsSerializeAs 是用作序列化方案的枚举,用于存储配置设置。