Items object
Contains a collection of Item objects. See the Items (Device) property or Items (Item) property for details on accessing the Items object.
Members
The Items object has these types of members:
Methods
The Items object has these methods.
Method | Description |
---|---|
Add (Items) | Adds a new Item. |
Remove (Items) | Removes the designated Item. |
Properties
The Items object has these properties.
Property | Access type | Description |
---|---|---|
Count (Items) |
Read-only |
Retrieves the number of members in the Items collection. |
Item (Items) |
Read-only |
Retrieves the specified item in the collection by position. |
Remarks
Note that the Items of a Device or Item object can change, so be careful not to assume that the Count (Items) or order of a given collection will not change.
For example code, see Determine the Number of Items Returned by ShowSelectItems 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 |
|
See also
-
Reference