IConnectionPointContainer IConnectionPointContainer IConnectionPointContainer IConnectionPointContainer Interface

定义

提供 IConnectionPointContainer 接口的托管定义。Provides the managed definition of the IConnectionPointContainer interface.

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

注解

有关详细信息,请参阅的现有文档IConnectionPointContainerMSDN 库中。For more information, see the existing documentation for IConnectionPointContainer in MSDN library.

在本机代码中的 COM 方法将返回的 HRESULT 时,公共语言运行时将引发异常。The common language runtime throws an exception when a COM method in native code returns an HRESULT. 有关更多信息,请参见 How to: Map HRESULTs and ExceptionsFor more information, see How to: Map HRESULTs and Exceptions.

方法

EnumConnectionPoints(IEnumConnectionPoints) EnumConnectionPoints(IEnumConnectionPoints) EnumConnectionPoints(IEnumConnectionPoints) EnumConnectionPoints(IEnumConnectionPoints)

创建在可连接对象中支持的所有连接点的枚举数,每个 IID 一个连接点。Creates an enumerator of all the connection points supported in the connectable object, one connection point per IID.

FindConnectionPoint(Guid, IConnectionPoint) FindConnectionPoint(Guid, IConnectionPoint) FindConnectionPoint(Guid, IConnectionPoint) FindConnectionPoint(Guid, IConnectionPoint)

询问可连接对象是否具有某个特定 IID 的连接点,如果是,则返回指向此连接点的 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.

适用于