IPersistPropertyBagImpl Class
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

IPersistPropertyBagImpl Class

This class implements IUnknown and allows an object to save its properties to a client-supplied property bag.

template < 
   class T 
>
class ATL_NO_VTABLE IPersistPropertyBagImpl :
   public IPersistPropertyBag

Parameters

T
Your class, derived from IPersistPropertyBagImpl.

Remarks

The IPersistPropertyBag interface allows an object to save its properties to a client-supplied property bag. Class IPersistPropertyBagImpl provides a default implementation of this interface and implements IUnknown by sending information to the dump device in debug builds.

IPersistPropertyBag works in conjunction with IPropertyBag and IErrorLog. These latter two interfaces must be implemented by the client. Through IPropertyBag, the client saves and loads the object's individual properties. Through IErrorLog, both the object and the client can report any errors encountered.

Related Articles   ATL Tutorial, Creating an ATL Project

Requirements

Header: atlcom.h

See Also

Class Members | BEGIN_PROP_MAP | ATL Class Overview

Show:
© 2016 Microsoft