次の方法で共有


TransformerInfo.Type プロパティ

定義

WebPartTransformer クラスを拡張するクラスの型参照を取得または設定します。

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

プロパティ値

WebPartTransformer クラスを拡張するクラスの型参照。

属性

次のコード例は、Type プロパティの使用方法を示しています。 このコード例は、 型に提供されるより大きな例の WebPartsSection 一部です。

注釈

構成システムは、有効な型名が使用されていることを確認するために、指定された型を検証しません。 ただし、無効な型では、Web ページが読み込まれるときに例外が発生します。

適用対象

こちらもご覧ください