Uredi

Deli z drugimi prek


UCOMIConnectionPointContainer.FindConnectionPoint Method

Definition

Asks the connectable object if it has a connection point for a particular IID, and if so, returns the IConnectionPoint interface pointer to that connection point.

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)

Parameters

riid
Guid

A reference to the outgoing interface IID whose connection point is being requested.

ppCP
UCOMIConnectionPoint

On successful return, contains the connection point that manages the outgoing interface riid.

Remarks

For more information, please see the existing documentation for IConnectionPointContainer::FindConnectionPoint in the MSDN library.

Applies to