Compartir a través de


Item object

Contains an item on an imaging Device. See the Items (Device) property or Items (Item) property for details on accessing Item objects.

Members

The Item object has these types of members:

Methods

The Item object has these methods.

Method Description
ExecuteCommand (Item) Issues the command specified by CommandID.
Transfer Retrieves an ImageFile object from an imaging device.

Properties

The Item object has these properties.

Property Access type Description
Commands (Item)
Read-only
Retrieves a collection of all commands for this Item object.
Formats (Item)
Read-only
Retrieves a collection of all supported format types for this Item.
ItemID
Read-only
Retrieves the ItemID for this Item.
Items (Item)
Read-only
Retrieves a collection of all child items for this item
Properties (Item)
Read-only
Retrieves a collection of all properties for this Item.
WiaItem (Item)
Read-only
Retrieves the underlying IWiaItem interface for this Item.

Remarks

Note that the imaging item that the Item object represents is independent of the Item object. A user can delete an imaging item while your application is using it. Accessing an Item object's properties or methods after this occurs can result in errors.

For example code, see Enumerate Root Level Items and Display Their Names in Shared Samples.

Creation\Access Functions

Use any of the following to retrieve a reference to the object:

ExecuteCommand (Item)

Item (Items)

GetItem

ExecuteCommand (Device)

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 R2 [desktop apps only]
Header
Wiaaut.h
IDL
Wiaaut.idl

See also

Reference

ShowItemProperties

ShowTransfer

ExecuteCommand (Device)

GetItem

ExecuteCommand (Item)

Item (Items)