Partager via


Selection.Item Property

Returns an Outlook item from a 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 Selection
Dim Index As Object
Dim value As Object

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

Parameters

  • Index
    Type: System.Object

    Either the index number of the object, or a value used to match the default property of an object in the collection.

Property Value

Type: System.Object
An Object value that represents the specified object.

See Also

Reference

Selection Interface

Selection Members

Microsoft.Office.Interop.Outlook Namespace