Muokkaa

Jaa


SummaryInfo.Property property

The Property property of the SummaryInfo object sets or gets the value for the specified property in the summary information stream. The properties are read when the SummaryInfo 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 nonexistent property returns an Empty value. Otherwise values may be transferred as strings, integers, or date (date time) types.

This property is read-only.

Syntax

propVal = SummaryInfo.Property

Property value

Required property ID of one of the summary properties.

Remarks

Standard Summary Property IDs

(not an enumeration)

Parameter name Value Description
PID_DICTIONARY 0 Special format, not support by SummaryInfo 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)

Parameter name Value Description
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 SummaryInfo object

 

Requirements

Requirement Value
Version
Windows Installer 5.0 on Windows Server 2012, Windows 8, Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003 or Windows XP
DLL
Msi.dll
IID
IID_ISummaryInfo is defined as 000C109B-0000-0000-C000-000000000046

See also

MsiSummaryInfoSetProperty

MsiSummaryInfoGetProperty