Property object
Holds a property associated with a Device, DeviceInfo, Filter, ImageFile or Item object. See the Properties property on any of these objects for details on accessing Property objects. The Property object is a container.
Members
The Property object has these types of members:
Properties
The Property object has these properties.
Property | Access type | Description |
---|---|---|
IsReadOnly |
Read-only |
Indicates whether the Property value is |
IsVector |
Read-only |
Indicates whether the Property value is a vector. |
Name (Property) |
Read-only |
Retrieves the Property name. |
PropertyID |
Read-only |
Retrieves the PropertyID of this Property. |
SubType |
Read-only |
Retrieves the SubType of the Property, if any exist. |
SubTypeDefault |
Read-only |
Retrieves the default Property value. |
SubTypeMax |
Read-only |
Retrieves the maximum valid Property value. |
SubTypeMin |
Read-only |
Retrieves the minimum valid Property value. |
SubTypeStep |
Read-only |
Retrieves the step increment of Property values. |
SubTypeValues |
Read-only |
Retrieves a Vector of valid Property values or valid flag values. |
Type (Property) |
Read-only |
Retrieves either a WiaPropertyType or a WiaImagePropertyType value. |
Value (Property) |
Read/write |
Sets or retrieves the Property value. |
Remarks
Note that the SubTypeDefault, SubTypeValues, SubTypeMin, SubTypeMax, and SubTypeStep properties are only accessible if SubType has a certain value.
For example code, see Display Detailed Property Information in Shared Samples.
Creation\Access Functions
Use any of the following to retrieve a reference to the object:
Requirements
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 R2 [desktop apps only] |
Header |
|
IDL |
|