Compartilhar via


IListBox.Selected Property

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property Selected ( _
    Index As Object _
) As Object
    Get
    Set
'Usage
Dim instance As IListBox
Dim Index As Object
Dim value As Object

value = instance.Selected(Index)

instance.Selected(Index) = value
Object this[
    Object Index
] { get; set; }

Parameters

Property Value

Type: System.Object

See Also

Reference

IListBox Interface

IListBox Members

Microsoft.Office.Interop.Excel Namespace