TransformerInfo.Name Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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 .