Поделиться через


IPersistStorageImpl Class

This class implements the IPersistStorage interface.

template <
   class T
>
class ATL_NO_VTABLE IPersistStorageImpl :
   public IPersistStorage

Параметры

  • T
    Your class, derived from IPersistStorageImpl.

Заметки

IPersistStorageImpl implements the IPersistStorage interface, which allows a client to request that your object load and save its persistent data using a storage.

The implementation of this class requires class T to make an implementation of the IPersistStreamInit interface available via QueryInterface. Typically this means that class T should derive from IPersistStreamInitImpl, provide an entry for IPersistStreamInit in the COM map, and use a property map to describe the class's persistent data.

Related Articles   ATL Tutorial, Creating an ATL Project

Требования

Header: atlcom.h

См. также

Основные понятия

IPersistStorageImpl Members

Storages and Streams

IPersistStreamInitImpl Class

IPersistPropertyBagImpl Class

ATL Class Overview