About the WPDObject
The WPDObject represents a generic object on a device.
The Service object and the Storage object both inherit their functionality from WPDObject. This common functionality includes the ability to create, add and remove child objects from an internal collection of children; completion events that occur when children are added or removed; and support for any WPD Automation-defined properties. WPD Automation defines a minimum set of properties for a WPDObject, which can be accessed by their names. For a list of these properties, see WpdProperty.
In WPD Automation, a WPDObject always exists as one of two specialized types: a Service object or a Storage object. The WPDObject provides the Service and Storage properties so that objects of these types that are contained in the childrenCollection of objects can determine which parent objects they belong to.
For a reference of the properties, methods, and events of the WPDObject, see WPDObject. For examples of how to use the methods, properties, and events of the WPDObject, see the reference pages for the Service Object and the Storage Object.
Related topics