_SimpleItems.Item Property

Returns an Object (object in C#) in the SimpleItems collection.

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 Object
    Get
'Usage
Dim instance As _SimpleItems
Dim Index As Object
Dim value As Object

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

Parameters

  • Index
    Type: System.Object

    The zero-based index number of the object in the SimpleItems collection.

Property Value

Type: System.Object

Remarks

If this property fails to return an object in the collection as specified by the Index parameter, the method returns Nothing (a null reference (Nothing in Visual Basic) in C#).

See Also

Reference

_SimpleItems Interface

_SimpleItems Members

Microsoft.Office.Interop.Outlook Namespace