Rediger

Del via


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.

Syntax

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

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

IConnectionPointImpl Class
IConnectionPointContainerImpl Class
Class Overview