IConnectionPointContainer Rozhraní

Definice

Poskytuje spravovanou definici IConnectionPointContainer rozhraní.

public interface class IConnectionPointContainer
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IConnectionPointContainer
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.Guid("B196B284-BAB4-101A-B69C-00AA00341D07")]
public interface IConnectionPointContainer
public interface IConnectionPointContainer
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IConnectionPointContainer = interface
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.Guid("B196B284-BAB4-101A-B69C-00AA00341D07")>]
type IConnectionPointContainer = interface
type IConnectionPointContainer = interface
Public Interface IConnectionPointContainer
Atributy

Poznámky

Další informace najdete v existující dokumentaci pro IConnectionPointContainer v knihovně MSDN.

Common Language Runtime vyvolá výjimku, když metoda COM v nativním kódu vrátí HRESULT. Další informace najdete v tématu Postupy: Mapování HRESULTů a výjimek.

Metody

EnumConnectionPoints(IEnumConnectionPoints)

Vytvoří enumerátor všech spojovacích bodů podporovaných v připojitelném objektu, jeden spojovací bod na IID.

FindConnectionPoint(Guid, IConnectionPoint)

Zeptá se připojitelného objektu, jestli má spojovací bod pro konkrétní identifikátor IID, a pokud ano, vrátí IConnectionPoint ukazatel rozhraní na tento spojovací bod.

Platí pro