Language

WebPartTransformerAttribute.GetProviderType(Type) メソッド

定義

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

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

パラメーター

transformerType
Type

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

返品

プロバイダー接続ポイントの Type 。

例外

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

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

注釈

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

適用対象