_Accounts.Item Property
Returns an Account object specified by Index.
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 Account
Get
'Usage
Dim instance As _Accounts
Dim Index As Object
Dim value As Account
value = instance(Index)
[DispIdAttribute()]
Account this[
Object Index
] { get; }
Parameters
Index
Type: System.ObjectA one-based Integer that indexes into the Accounts collection, or a String (string in C#) that specifies the DisplayName of an Account.
Property Value
Type: Microsoft.Office.Interop.Outlook.Account
An Account object that matches the account specified by Index.