Share via


Item Method

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

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.

See Also

Name Property

Applies To: Files Collection | Projects Collection | Servers Collection