語言

ConnectionProviderAttribute.ConnectionPointType 屬性

定義

取得與提供者控制區相關的連接點類型。

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

屬性值

A Type 表示連接點的類型。

例外狀況

使用了一個無效的連接點類型(非源自該 ProviderConnectionPoint 類別的)。

備註

此性質回傳提供者連接點的 。Type 必須Type從 衍生ProviderConnectionPoint出來,當你在回調方法中宣告帶有connectionPointType元資料元素的ConnectionProviderAttribute參數時,會用你宣告的類型實例來建立連接點,而非標準ProviderConnectionPoint類別。

適用於