Language

WebPartTransformerAttribute.GetConsumerType(Type) メソッド

定義

トランスフォーマーが接続ポイントで受け入れ可能なコンシューマーの種類を返します。

public:
 static Type ^ GetConsumerType(Type ^ transformerType);
public static Type GetConsumerType(Type transformerType);
static member GetConsumerType : Type -> Type
Public Shared Function GetConsumerType (transformerType As Type) As Type

パラメーター

transformerType
Type

トランスフォーマーの種類。

返品

コンシューマー接続ポイントの Type 。

例外

transformerType が指定されていません。

transformerType は、 WebPartTransformer クラスから派生したオブジェクトではありません。

注釈

WebPartManager オブジェクトと WebPartConnection オブジェクトは、GetConsumerType メソッドを使用して、トランスフォーマーのコンシューマーの種類が Web パーツ コントロールのコンシューマー接続ポイントと一致するかどうかを判断します。

適用対象