IPropertyNotifySinkCP 類別

這個類別會公開 (Expose) 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 介面的連接點 (Connection Point) 時。

如需使用連接點的詳細資訊,請參閱 ATL 中本文 連接點

需求

Header: atlctl.h

請參閱

參考

IConnectionPointImpl 類別

IConnectionPointContainerImpl 類別

其他資源

ATL 類別概觀