Managing Resource Extended Attributes
Extending Resource Attributes The ExtendedAttribute property exposed by the Resource class can be used to manage the extended attributes of a resource. This property reads and writes an ArrayList of the ExtendedAttribute objects to deal with a resource’s extended attributes. The ExtendedAttribute object further exposes the relevant properties.
The following example shows how to set a resource’s extended attributes.