Stores.Item method (Outlook)
Returns a Store object that is specified by Index. Read-only.
Syntax
expression.Item (Index)
expression A variable that represents a Stores object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Index | Required | Variant | Either an Integer that specifies a one-based index into the Stores collection, or a String value that specifies the DisplayName of a Store in the Stores collection. |
Return value
A Store object in the parent Stores collection, as specified by Index.
Remarks
The Store.DisplayName property is the default property of a Store.
If Index is a string and no item can be found by that name, an error will be returned.
See also
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.