Share via


_Stores.Item Property

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

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Default Property Item ( _
    Index As Object _
) As Store
    Get
'Usage
Dim instance As _Stores
Dim Index As Object
Dim value As Store

value = instance(Index)
[DispIdAttribute()]
Store this[
    Object Index
] { get; }

Parameters

  • Index
    Type: System.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

Type: Microsoft.Office.Interop.Outlook.Store
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

Reference

_Stores Interface

_Stores Members

Microsoft.Office.Interop.Outlook Namespace