Back to product page

Item property


Returns specific directory item.

Type

A DirItem object. Reference to requested DirItem object.

Syntax

  • Basic
object.Item (ID)
The Item(object,ID) syntax has these parts:
objectAn expression evaluating to an object of type DirItems.
IDRequired. A Variant value. Represents item's relative index or its name.

Remarks

Item property will return specific item from collection of all DirItems (items in currently viewed directory). You can specify ID to be either integer value as index of the item (indexes start from 0!), or you can specify string expression that represents item's name (file name). If there is no such item in the collection, and error will be returned.

Click here to view all properties for specific item.

Platforms

Windows