AxHost.ConnectionPointCookie 类

定义

将一个 ActiveX 控件连接到处理该控件的事件的客户端。Connects an ActiveX control to a client that handles the control's events.

此 API 支持产品基础结构,不能在代码中直接使用。

public: ref class AxHost::ConnectionPointCookie
[System.Runtime.InteropServices.ComVisible(false)]
public class AxHost.ConnectionPointCookie
type AxHost.ConnectionPointCookie = class
Public Class AxHost.ConnectionPointCookie
继承
AxHost.ConnectionPointCookie
属性

注解

ActiveX 控件通过 COM 接口与客户端通信。ActiveX controls communicate with clients through their COM interface. AxHost.ConnectionPointCookie 类提供 AxHost 类与 ActiveX 控件之间的链接。The AxHost.ConnectionPointCookie class provides the link between the AxHost class and the ActiveX control.

有关详细信息,请参阅 MSDN library 中的 "COM 和可连接对象中的事件" https://msdn.microsoft.com/library。For more information, see "Events in COM and Connectable Objects" in the MSDN library at https://msdn.microsoft.com/library.

构造函数

AxHost.ConnectionPointCookie(Object, Object, Type)

初始化 AxHost.ConnectionPointCookie 类的新实例。Initializes a new instance of the AxHost.ConnectionPointCookie class.

方法

Disconnect()

断开 ActiveX 控件与客户端的连接。Disconnects the ActiveX control from the client.

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
Finalize()

释放由 AxHost.ConnectionPointCookie 类使用的非托管资源。Releases the unmanaged resources used by the AxHost.ConnectionPointCookie class.

GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于