HtmlControlDesigner.ShouldCodeSerialize Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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