_CommandBarComboBox.ListIndex Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the (1-based) index of the selected item in the list.
public:
property int ListIndex { int get(); void set(int value); };
public:
property int ListIndex { int get(); void set(int value); };
[System.Runtime.InteropServices.DispId(1610940427)]
public int ListIndex { [System.Runtime.InteropServices.DispId(1610940427)] get; [System.Runtime.InteropServices.DispId(1610940427)] set; }
[<System.Runtime.InteropServices.DispId(1610940427)>]
[<get: System.Runtime.InteropServices.DispId(1610940427)>]
[<set: System.Runtime.InteropServices.DispId(1610940427)>]
member this.ListIndex : int with get, set
Public Property ListIndex As Integer
Property Value
The (1-based) index of the selected item in the list.
- Attributes
Remarks
The set
accessor is deprecated, and throws a DeprecatedException.