HtmlControlDesigner.ShouldCodeSerialize HtmlControlDesigner.ShouldCodeSerialize HtmlControlDesigner.ShouldCodeSerialize HtmlControlDesigner.ShouldCodeSerialize Property

Definition

Warning

This API is now obsolete.

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); };
[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
Public Overridable Property ShouldCodeSerialize As Boolean

Property Value

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

Applies to

See also