Partilhar via


IPropertyNotifySinkCP Class

This class exposes IPropertyNotifySink interface as an outgoing interface on a connectable object.

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

Parameters

  • T
    Your class, derived from IPropertyNotifySinkCP.

  • CDV
    A class that manages the connections between a connection point and its sinks. The default value is CComDynamicUnkArray, which allows unlimited connections. You can also use CComUnkArray, which specifies a fixed number of connections.

Remarks

The IPropertyNotifySink interface allows a sink object to receive notifications about property changes. Class IPropertyNotifySinkCP exposes this interface as an outgoing interface on a connectable object. The client must implement the IPropertyNotifySink methods on the sink.

Derive your class from IPropertyNotifySinkCP when you want to create a connection point that represents the IPropertyNotifySink interface.

For more information about using connection points in ATL, see the article Connection Points.

Requirements

Header: atlctl.h

See Also

Reference

IConnectionPointImpl Class

IConnectionPointContainerImpl Class

Other Resources

IPropertyNotifySinkCP Members

ATL Class Overview