HtmlControlDesigner.ShouldCodeSerialize 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
Use of this property is not recommended because code serialization is not supported. http://go.microsoft.com/fwlink/?linkid=14202
取得或設定值,指出是否應該於序列化 (Serialization) 期間,在程式碼後置 (Code-Behind) 檔案中為目前設計文件建立控制項的欄位宣告。
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
屬性值
如果應該建立宣告,則為 true
,否則為 false
。
- 屬性