ShouldCodeSerialize Property

HtmlControlDesigner.ShouldCodeSerialize Property

 
Note: 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.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

[ObsoleteAttribute("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; }

Property Value

Type: System.Boolean

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft