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)

Syntax
[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; }
public:
[ObsoleteAttribute("Use of this property is not recommended because code serialization is not supported. http://go.microsoft.com/fwlink/?linkid=14202")]
property bool ShouldCodeSerialize {
	virtual bool get();
	virtual void set(bool value);
}
[<ObsoleteAttribute("Use of this property is not recommended because code serialization is not supported. http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract ShouldCodeSerialize : bool with get, set
[<ObsoleteAttribute("Use of this property is not recommended because code serialization is not supported. http://go.microsoft.com/fwlink/?linkid=14202")>]
override ShouldCodeSerialize : bool with get, set
<ObsoleteAttribute("Use of this property is not recommended because code serialization is not supported. http://go.microsoft.com/fwlink/?linkid=14202")>
Public Overridable Property ShouldCodeSerialize As Boolean

Property Value

Type:

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

Version Information
.NET Framework
Available since 1.1
Return to top