ViewFields.Item method (Outlook)

Returns a ViewField object from the collection.

Syntax

expression.Item (Index)

expression A variable that represents a ViewFields object.

Parameters

Name Required/Optional Data type Description
Index Required Variant The value can be a one-based integer that indexes an ViewField object in the ViewFields collection, a string that matches the ViewXMLSchemaName property value of an ViewField object in the collection, or a field name as displayed in the Field Chooser.

Return value

A ViewField object that represents the specified object.

See also

ViewFields Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.