共用方式為


TransformerInfo.Name 屬性

定義

為擴展 WebPartTransformer 類別的類型,取得或設定易記名稱。

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

屬性值

String

擴充 類別之型別的 WebPartTransformer 易記名稱。

屬性

範例

下列程式碼範例示範如何使用 Name 屬性。 此程式碼範例是提供給 類別之較大範例的 WebPartsSection 一部分。

適用於

另請參閱