編輯

共用方式為


_Stores.Item[Object] Property

Definition

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

public:
 property Microsoft::Office::Interop::Outlook::Store ^ default[System::Object ^] { Microsoft::Office::Interop::Outlook::Store ^ get(System::Object ^ Index); };
public Microsoft.Office.Interop.Outlook.Store this[object Index] { get; }
Default Public ReadOnly Property Item(Index As Object) As Store

Parameters

Index
Object

Either an Integer that specifies a one-based index into the Stores collection, or a String (string in C#) value that specifies the DisplayName of a Store in the Stores collection.

Property 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.

Applies to