IConnectionPointContainer.FindConnectionPoint(Guid, IConnectionPoint) 方法

定義

詢問可連接物件其是否具有特定 IID 的連接點,如果有,傳回該連接點的 IConnectionPoint 介面指標。

public:
 void FindConnectionPoint(Guid % riid, [Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::IConnectionPoint ^ % ppCP);
public void FindConnectionPoint (ref Guid riid, out System.Runtime.InteropServices.ComTypes.IConnectionPoint ppCP);
public void FindConnectionPoint (ref Guid riid, out System.Runtime.InteropServices.ComTypes.IConnectionPoint? ppCP);
abstract member FindConnectionPoint : Guid * IConnectionPoint -> unit
Public Sub FindConnectionPoint (ByRef riid As Guid, ByRef ppCP As IConnectionPoint)

參數

riid
Guid

輸出介面 IID 的參考,要求其連接點。

ppCP
IConnectionPoint

這個方法傳回時,包含管理輸出介面 riid 的連接點。 這個參數會以未初始化的狀態傳遞。

備註

如需詳細資訊,請參閱 MSDN 連結庫中的現有檔 IConnectionPointContainer::FindConnectionPoint

適用於