_Stores.Item[Object] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.