IPropertyNotifySinkCP Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at IPropertyNotifySinkCP Class.

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

System_CAPS_ICON_important.jpg Important

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

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.

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.

Header: atlctl.h

IConnectionPointImpl Class
IConnectionPointContainerImpl Class
Class Overview

Show: