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
- Index
Type: System.Object
Property Value
Type: System.Object