HtmlControlDesigner.ShouldCodeSerialize Property



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.

 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.")]
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