Property Property (MsiSummaryInfo Object)

[This is preliminary documentation and subject to change.]

This is the Property property of the MsiSummaryInfo object. This property sets or gets the value for the specified property in the summary information stream. The properties are read when the MsiSummaryInfo object is created, but they are not written until the Persist method is called. Setting a property to Empty causes its removal; likewise, requesting a non-existent property returns an Empty value. Otherwise values may be transferred as strings, integers, or date (date time) types.

Syntax

object.Property(pid)

Parts

object
MsiSummaryInfo object.
pid
Required property ID of one of the summary properties.

Remarks

Standard Summary Property IDs

(not an enumeration)

PID_DICTIONARY 0 Special format, not support by MsiSummaryInfo object
PID_CODEPAGE 1 VT_I2
PID_TITLE 2 VT_LPSTR
PID_SUBJECT 3 VT_LPSTR
PID_AUTHOR 4 VT_LPSTR
PID_KEYWORDS 5 VT_LPSTR
PID_COMMENTS 6 VT_LPSTR
PID_TEMPLATE 7 VT_LPSTR
PID_LASTAUTHOR 8 VT_LPSTR
PID_REVNUMBER 9 VT_LPSTR
PID_EDITTIME 10 VT_FILETIME
PID_LASTPRINTED 11 VT_FILETIME
PID_CREATE_DTM 12 VT_FILETIME
PID_LASTSAVE_DTM 13 VT_FILETIME
PID_PAGECOUNT 14 VT_I4
PID_WORDCOUNT 15 VT_I4
PID_CHARCOUNT 16 VT_I4
PID_THUMBNAIL 17 VT_CF (not supported)
PID_APPNAME 18 VT_LPSTR
PID_SECURITY 19 VT_I4

Property Data Types

(not an enumeration)

VT_I2 2 16-bit integer
VT_I4 3 32-bit integer
VT_LPSTR 30 String
VT_FILETIME 64 Date time (FILETIME, converted to Variant time)
VT_CF 71 Clipboard format + data, not handled by MsiSummaryInfo object