Compartir a través de


ListBox.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 ListBox
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

ListBox Interface

ListBox Members

Microsoft.Office.Interop.Excel Namespace