HtmlControlDesigner.ShouldCodeSerialize 属性

定义

注意

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.

属性

适用于

另请参阅