Share via


Tabs.Item Method

Outlook Forms Script Reference

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

Syntax

expression.Item(varg)

expression   A variable that represents a Tabs object.

Parameters

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.

Remarks

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