_Accounts.Item[Object] Property

Definition

Returns an Account object specified by Index.

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

Parameters

Index
Object

A one-based Integer that indexes into the Accounts collection, or a String (string in C#) that specifies the DisplayName of an Account.

Property Value

An Account object that matches the account specified by Index.

Applies to