This documentation is archived and is not being maintained.

HtmlControlDesigner.ShouldCodeSerialize Property

Gets or sets a value indicating whether a field declaration for the control should be created in the code-behind file for the current design document during serialization.

[Visual Basic]
Public Overridable Property ShouldCodeSerialize As Boolean
[C#]
public virtual bool ShouldCodeSerialize {get; set;}
[C++]
public: __property virtual bool get_ShouldCodeSerialize();
public: __property virtual void set_ShouldCodeSerialize(bool);
[JScript]
public function get ShouldCodeSerialize() : Boolean;
public function set ShouldCodeSerialize(Boolean);

Property Value

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

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

HtmlControlDesigner Class | HtmlControlDesigner Members | System.Web.UI.Design Namespace

Show: