IConnectionPointContainer 接口

定义

提供 IConnectionPointContainer 接口的托管定义。

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
属性

注解

有关详细信息,请参阅 MSDN 库中的现有文档 IConnectionPointContainer

当本机代码中的 COM 方法返回 HRESULT 时,公共语言运行时会引发异常。 有关更多信息,请参见 How to: Map HRESULTs and Exceptions

方法

EnumConnectionPoints(IEnumConnectionPoints)

创建在可连接对象中支持的所有连接点的枚举数,每个 IID 一个连接点。

FindConnectionPoint(Guid, IConnectionPoint)

询问可连接对象是否具有某个特定 IID 的连接点,如果是,则返回指向此连接点的 IConnectionPoint 接口指针。

适用于