Redigera

Dela via


HtmlControlDesigner.ShouldCodeSerialize Property

Definition

Caution

Use of this property is not recommended because code serialization is not supported. http://go.microsoft.com/fwlink/?linkid=14202

Gets or sets a value indicating whether to create a field declaration for the control in the code-behind file for the current design document during serialization.

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

Property Value

true, if a declaration should be created; otherwise, false.

Attributes

Applies to

See also