Contains a collection of all the Property objects associated with a given Device, DeviceInfo, Filter, ImageFile, or Item object. See the Properties property on any of these objects for details about accessing the Properties object.
The Properties object has these types of members:
The Properties object has these methods.
|Exists||Indicates whether the specified Property exists in the collection.
The Properties object has these properties.
||Retrieves the number of members in the Properties collection.
||Retrieves the specified item in the Properties collection either by position or name.
Due to the dynamic nature of imaging devices, filters, and image files, the exact collection of Property objects can be very different. Further, Property objects are not guaranteed to be in any particular order from one instance of an object to the next.
Use any of the following to retrieve a reference to the object:
The following sample shows how to enumerate all the properties on a selected device.
Dim dev 'As Device Dim p 'As Property Dim s 'As String Set dev = CommonDialog1.ShowSelectDevice For Each p In dev.Properties s = p.Name & "(" & p.PropertyID & ")" MsgBox s Next
|Minimum supported client
||Windows Vista [desktop apps only]
|Minimum supported server
||Windows Server 2003 R2 [desktop apps only]