Item Method

Applies To   See Also

Returns an object reference to a specified file, project, or server in a files, projects, or servers collection.

Syntax

Object.Item(nIndex)

nIndex

A number that specifies a file, project, or server in a files, projects, or servers collection. An "Invalid subscript reference" error is generated if nIndex is greater than the number of files, projects, or servers in a collection.

Remarks

Use the Name property with the Item property to determine the name of a file, project, or server and the directory in which it is contained.