Share via


WPDObject.WpdProperty property

The WpdProperty property gets or sets a predefined WPD property for this WPDObject.

This property is read/write.

Syntax

WpdProperty = WPDObject.WpdProperty
WPDObject.WpdProperty = WpdProperty

Property value

This property has the same value as the predefined WPD property that it is reading from or writing to.

Remarks

The following table contains the minimum required set of predefined WPD properties for a WPDObject. The properties are accessed by the WPD Automation name that corresponds to the WPD PROPERTYKEY.

For a complete list of WPD PROPERTYKEYs and their corresponding WPD Automation names, see Names for WPD PROPERTYKEYs.

WPD PROPERTYKEY WPD Automation Name
WPD_OBJECT_ID ObjectId
WPD_OBJECT_PERSISTENT_UNIQUE_ID ObjectPersistentUniqueId
WPD_OBJECT_FORMAT ObjectFormat
WPD_OBJECT_CONTENT_TYPE ObjectContentType
WPD_OBJECT_SIZE ObjectSize (for objects containing data only)

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]

See also

WPDObject