AxHost.ConnectionPointCookie AxHost.ConnectionPointCookie AxHost.ConnectionPointCookie AxHost.ConnectionPointCookie Class

定义

将一个 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.ConnectionPointCookieAxHost.ConnectionPointCookieAxHost.ConnectionPointCookieAxHost.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.

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

构造函数

AxHost.ConnectionPointCookie(Object, Object, Type) AxHost.ConnectionPointCookie(Object, Object, Type) AxHost.ConnectionPointCookie(Object, Object, Type) AxHost.ConnectionPointCookie(Object, Object, Type)

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

方法

Disconnect() Disconnect() Disconnect() Disconnect()

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
Finalize() Finalize() Finalize() Finalize()

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

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

(Inherited from Object)
GetType() GetType() GetType() GetType()

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

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

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

(Inherited from Object)
ToString() ToString() ToString() ToString()

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

(Inherited from Object)

适用于