UCOMIConnectionPointContainer.FindConnectionPoint 方法

定義

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

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

參數

riid
Guid

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

ppCP
UCOMIConnectionPoint

在成功傳回時,含有管理輸出介面 riid 的連接點。

備註

如需詳細資訊,請參閱 IConnectionPointContainer::FindConnectionPoint MSDN library 中的現有檔。

適用於