Pages.Item Method (Outlook Forms Script)

Returns a member of a collection, either by position or by name.


expression. Item(varg)

expression A variable that represents a Pages object.


Name Required/Optional Data Type Description
varg Required Variant A member's name or index within a collection.

Return Value

An Object that corresponds to the specified member in the collection.


The varg can be either a String or an Integer. If it is a String, it must be a valid member name. If it is an Integer, the minimum value is 0 and the maximum value is one less than the number of items in the collection.

If an invalid index or name is specified, an error occurs.

See also

Pages Object