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 類別。

適用於