Resource object

The Resource object represents a resource on a WPDObject. In Windows 7, all resources are read-only.

Members

The Resource object has these types of members:

  • Events
  • Properties

Events

The Resource object has these events.

Event Description
onTransferProgress

Indicates the progress of a resource-transfer operation.

 

Properties

The Resource object has these properties.

Property Access type Description

Format

Read-only

Gets the data format of the resource.

IsReadOnly

Read-only

Retrieves a value indicating whether the Resource is read-only.

Size

Read-only

Gets the size of the Resource, in bytes.

Stream

Read/write

Gets or sets an IStream containing resource data.

 

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

See also

Reading and Writing Resource Data

WPD Automation Reference

WPDObject