Item

Description

Returns the specified item in the Folders collection.

The argument to this method can be either a numeric index (itemNum) or a String (name):
  • For VBScript, the argument to the Item method can be either a numeric index or a name.
  • For Perl, there are two separate methods:
    • Item, which takes a numerical index argument.
    • ItemByName, which takes a string name argument.
Remarque : This method became available in version 7.1.0.

Syntaxe

VBScript

folders.Item itemNum
folders.Item name

Perl

$folders->Item(itemNum);
$folders->ItemByName(name);
Identificateur
Description
dossiers
A Folders collection object, representing the set of Folder objects available for fetching as a collection.
itemNum
A Long that serves as an index into the collection. This index is 0-based so the first item in the collection is numbered 0, not 1.
name
A String that serves as a key into the collection.
Valeur renvoyée
The Folder object at the specified location in the collection.

Feedback