HtmlControlDesigner.ShouldCodeSerialize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use of this property is not recommended because code serialization is not supported. http://go.microsoft.com/fwlink/?linkid=14202
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.
public:
virtual property bool ShouldCodeSerialize { bool get(); void set(bool value); };
public virtual bool ShouldCodeSerialize { get; set; }
[System.Obsolete("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; }
member this.ShouldCodeSerialize : bool with get, set
[<System.Obsolete("Use of this property is not recommended because code serialization is not supported. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.ShouldCodeSerialize : bool with get, set
Public Overridable Property ShouldCodeSerialize As Boolean
Property Value
true
, if a declaration should be created; otherwise, false
.
- Attributes
Applies to
See also
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.