Item.ItemType property

The type of this item. Read-only.

This property is read-only.

Syntax

propVal = Item.ItemType

Property value

The following values are possible:

Value Description
device The item is a WIA hardware device.
folder The item is a folder that contains other items.
file The item is an image or audio file.
audio The item is an audio clip.
image The item is an image.

 

Remarks

An item can have more than one type. For example, every image is of both "image" and "file" types. ItemType returns a string that includes all valid types for the item, separated by semicolons. For example, "image;file". There are no spaces in this string, and there is not a semicolon at the end.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
DLL
Wiascr.dll (version 4.90 or later)