WPD_CONTENT_TYPE_SECTION
Previous | Next |
WPD_CONTENT_TYPE_SECTION
An object that describes its type as WPD_CONTENT_TYPE_SECTION represents a section of data that is contained in another object. For example, a large audio file may be described as a collection of multiple chapters and each chapter could be a WPD_CONTENT_TYPE_SECTION object.
The WPD_OBJECT_REFERENCES property identifies a given section's parent object.
This type of object should host the following properties.
Property Name | Required or Optional |
WPD_OBJECT_ID | Required |
WPD_OBJECT_PARENT_ID | Required |
WPD_OBJECT_NAME | Required |
WPD_OBJECT_PERSISTENT_UNIQUE_ID | Required |
WPD_OBJECT_FORMAT | Required |
WPD_OBJECT_CONTENT_TYPE | Required |
WPD_OBJECT_ISHIDDEN | Required if the object is hidden. |
WPD_OBJECT_ISSYSTEM | Required if the object is a system object (that is, it represents a system file). |
WPD_OBJECT_SIZE | Required if the object has at least one resource. |
WPD_OBJECT_ORIGINAL_FILE_NAME | Required if the object represents a file. |
WPD_OBJECT_NON_CONSUMABLE | Recommended if the object is not meant for consumption by the device. |
WPD_OBJECT_REFERENCES | Required if the object has references to other objects. |
WPD_OBJECT_KEYWORDS | Optional |
WPD_OBJECT_SYNC_ID | Optional |
WPD_OBJECT_IS_DRM_PROTECTED | Required if the object is protected by DRM technology. |
WPD_OBJECT_DATE_CREATED | Optional |
WPD_OBJECT_DATE_MODIFIED | Recommended |
WPD_OBJECT_DATE_AUTHORED | Optional |
WPD_OBJECT_BACK_REFERENCES | Recommended if the object has references to other objects. |
WPD_OBJECT_CONTAINER_FUNCTIONAL_OBJECT_ID | Optional |
WPD_OBJECT_GENERATE_THUMBNAIL_FROM_RESOURCE | Optional |
WPD_OBJECT_CAN_DELETE | Required if the object cannot be deleted. |
WPD_SECTION_DATA_OFFSET | Required |
WPD_SECTION_DATA_LENGTH | Required |
WPD_SECTION_DATA_UNITS | Recommended |
WPD_SECTION_DATA_REFERENCED_OBJECT_RESOURCE | Recommended |
Typical Resources
These objects typically do not host resources.
See Also
Previous | Next |