HtmlControlDesigner.ShouldCodeSerialize 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Use of this property is not recommended because code serialization is not supported. http://go.microsoft.com/fwlink/?linkid=14202
获取或设置一个值,该值指示是否在序列化期间为当前设计文档的代码隐藏文件中的控件创建字段声明。
public:
virtual property bool ShouldCodeSerialize { bool get(); void set(bool value); };
public virtual bool ShouldCodeSerialize { get; set; }
[System.Obsolete("Use of this property is not recommended because code serialization is not supported. http://go.microsoft.com/fwlink/?linkid=14202")]
public virtual bool ShouldCodeSerialize { get; set; }
member this.ShouldCodeSerialize : bool with get, set
[<System.Obsolete("Use of this property is not recommended because code serialization is not supported. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.ShouldCodeSerialize : bool with get, set
Public Overridable Property ShouldCodeSerialize As Boolean
属性值
true(如果应创建声明);否则,为 false.
- 属性