CommandBarComboBoxClass.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:
virtual property int ListIndex { int get(); void set(int value); };
public:
virtual property int ListIndex { int get(); void set(int value); };
[System.Runtime.InteropServices.DispId(1610940427)]
public virtual 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 Overridable Property ListIndex As Integer
Property Value
The (1-based) index of the selected item in the list.
Implements
- Attributes
Remarks
The set
accessor is deprecated, and throws a DeprecatedException.