Szerkesztés

Megosztás a következőn keresztül:


IConnectionPointContainer Interface

Definition

Provides the managed definition of the IConnectionPointContainer interface.

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
Attributes

Remarks

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

The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.

Methods

EnumConnectionPoints(IEnumConnectionPoints)

Creates an enumerator of all the connection points supported in the connectable object, one connection point per IID.

FindConnectionPoint(Guid, IConnectionPoint)

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.

Applies to