Export (0) Print
Expand All

The Summary Information Property Set

COM defines a standard common property set for storing summary information about documents. The Summary Information property set must be stored in a stream object. That is, this property set must be stored as a simple property set. For more information, see Storage and Stream Objects for a Property Set.

For example, to create an ANSI simple property set, you would call IPropertySetStorage::Create to create the property set, specifying PROPSETFLAG_ANSI (simple is the default type of property set), then write to it with a call to IPropertyStorage::WriteMultiple. To read the property set, you would call IPropertyStorage::ReadMultiple.

All shared property sets are identified by a stream or storage name with the prefix "\005" (or 0x05) to show that it is a property set that can be shared among applications. The Summary Information property set is no exception. The name of the stream that contains the Summary Information property set is: "\005SummaryInformation"

It is not necessary to know the stream name of the property set when accessing it by means of the Create or Open methods of the IPropertySetStorage interface; in this case only the format identifier (FMTID) need be known. The FMTID for the Summary Information property set is: F29F85E0-4FF9-1068-AB91-08002B27B3D9

The declaration for this value is available in the header file as FMTID_SummaryInformation. For more information, see the FMTIDS in the Predefined Property Set Format Identifiers.

The following table lists the string property names for the Summary Information property set, along with the respective property identifiers and variable type (VT) indicators. The names are not typically stored in the property set, but are inferred from the Property ID value. The Property ID String entries shown here correspond to definitions found in the header files.

NameProperty ID stringProperty IDVT type
Revision NumberPIDSI_REVNUMBER0x00000009VT_LPSTR
Create Time/Date( (*))PIDSI_CREATE_DTM0x0000000CVT_FILETIME (UTC)
Last saved Time/Date( (*))PIDSI_LASTSAVE_DTM0x0000000DVT_FILETIME (UTC)
Number of Pages Number of Words Number of CharactersPIDSI_PAGECOUNT PIDSI_WORDCOUNT PIDSI_CHARCOUNT0x0000000E 0x0000000F 0x00000010VT_I4 VT_I4 VT_I4
Name of Creating ApplicationPIDSI_APPNAME0x00000012VT_LPSTR
* Some methods of file transfer, such as a download from a BBS, do not maintain the file system version of this information correctly.


Related topics

Implementing the Summary Information Property Set



Community Additions

© 2014 Microsoft