Item Method (File Object)

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

Object.Item(nIndex)

Remarks

  • 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

Applies To: Files Collection (Visual FoxPro) | Projects Collection (Visual FoxPro) | Servers Collection

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

Reference

Name Property (Visual FoxPro)

Other Resources

Methods (Visual FoxPro)

Language Reference (Visual FoxPro)