次の方法で共有


Stores.Item Method (Outlook)

Returns a Store object that is specified by Index. Read-only.

Version Information

Version Added: Outlook 2007

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

Concepts

Stores Object

Stores Object Members