Bagikan melalui


TransformerInfo.Name Properti

Definisi

Mendapatkan atau mengatur nama yang mudah diingat untuk jenis yang memperluas WebPartTransformer kelas.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("name", DefaultValue="", IsKey=true, IsRequired=true)]
[System.Configuration.StringValidator(MinLength=1)]
public string Name { get; set; }
[<System.Configuration.ConfigurationProperty("name", DefaultValue="", IsKey=true, IsRequired=true)>]
[<System.Configuration.StringValidator(MinLength=1)>]
member this.Name : string with get, set
Public Property Name As String

Nilai Properti

Nama yang mudah diingat untuk jenis yang memperluas WebPartTransformer kelas.

Atribut

Contoh

Contoh kode berikut menunjukkan cara menggunakan Name properti . Contoh kode ini adalah bagian dari contoh yang lebih besar yang disediakan untuk WebPartsSection kelas .

Berlaku untuk

Lihat juga