Share via


ConnectionProviderAttribute.ConnectionPointType プロパティ

定義

プロバイダー コントロールに関連付けられているコネクション ポイントの種類を取得します。

public:
 property Type ^ ConnectionPointType { Type ^ get(); };
public Type ConnectionPointType { get; }
member this.ConnectionPointType : Type
Public ReadOnly Property ConnectionPointType As Type

プロパティ値

コネクション ポイントの種類を示す Type

例外

無効なコネクション ポイントの種類 (ProviderConnectionPoint クラスから派生しない種類) が使用されました。

注釈

このプロパティは、プロバイダー接続ポイントの を Type 返します。 は Type からProviderConnectionPoint派生する必要があります。コールバック メソッドでメタデータ要素を使用してConnectionProviderAttributeパラメーターを宣言connectionPointTypeすると、宣言した型のインスタンスを使用して、標準ProviderConnectionPointクラスではなく接続ポイントが作成されます。

適用対象