IConnectionPointContainer.FindConnectionPoint(Guid, IConnectionPoint) Méthode

Définition

Vérifie si l'objet connectable possède un point de connexion pour un IID spécifique et, si tel est le cas, retourne l'interface de pointeur IConnectionPoint pour ce point de connexion.

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)

Paramètres

riid
Guid

Référence à l'IID d'interface sortante dont le point de connexion est demandé.

ppCP
IConnectionPoint

Lorsque cette méthode retourne une valeur, contient le point de connexion qui gère l'interface sortante riid. Ce paramètre est passé sans être initialisé.

Remarques

Pour plus d’informations, consultez la documentation existante pour IConnectionPointContainer::FindConnectionPoint dans la bibliothèque MSDN.

S’applique à