ConnectionProviderAttribute.ConnectionPointType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得與提供者控制項關聯的連接點型別。
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 類別。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應