IPropertyNotifySinkCP选件类

此选件类公开 IPropertyNotifySink 接口标记为可连接对象的一个输出接口。

重要说明重要事项

此选件类及其成员不能在 Windows 运行时执行的应用程序。

template< class T, classCDV = CComDynamicUnkArray >
class IPropertyNotifySinkCP : 
public IConnectionPointImpl< T, &IID_IPropertyNotifySink, CDV>

参数

  • T
    您的选件类,从派生 IPropertyNotifySinkCP

  • CDV
    管理之间的连接连接点的选件类及其接收器。默认值为 CComDynamicUnkArray,允许无限制的连接。还可以使用 CComUnkArray,指定连接的内置的数字。

备注

IPropertyNotifySinkCP 通过其基类,IConnectionPointImpl继承的所有方法。

IPropertyNotifySink 接口允许接收器对象接收有关属性的更改通知。选件类 IPropertyNotifySinkCP 显示此接口标记为可连接对象的一个输出接口。客户端必须在该接收器的 IPropertyNotifySink 方法。

IPropertyNotifySinkCP 派生您的类选件,如果要创建表示 IPropertyNotifySink 接口的连接点时。

有关使用的更多信息在ATL连接点,请参见一 连接点文章。

要求

Header: atlctl.h

请参见

参考

IConnectionPointImpl选件类

IConnectionPointContainerImpl选件类

其他资源

ATL选件类概述