Bagikan melalui


HtmlControlDesigner.ShouldCodeSerialize Properti

Definisi

Perhatian

Use of this property is not recommended because code serialization is not supported. http://go.microsoft.com/fwlink/?linkid=14202

Mendapatkan atau menetapkan nilai yang menunjukkan apakah akan membuat deklarasi bidang untuk kontrol dalam file code-behind untuk dokumen desain saat ini selama serialisasi.

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

Nilai Properti

true, jika deklarasi harus dibuat; jika tidak, false.

Atribut

Berlaku untuk

Lihat juga