Condividi tramite


IPropertyNotifySinkCP Class

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

Important

This class and its members cannot be used in applications that execute in the Windows Runtime.

template< class T, classCDV = 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

IPropertyNotifySinkCP inherits all methods through its base class, IConnectionPointImpl.

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

ATL Class Overview