Επεξεργασία

Κοινή χρήση μέσω


IConnectionPointContainer.FindConnectionPoint(Guid, IConnectionPoint) 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::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)

Parameters

riid
Guid

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

ppCP
IConnectionPoint

When this method returns, contains the connection point that manages the outgoing interface riid. This parameter is passed uninitialized.

Remarks

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

Applies to