_CommandBarComboBox.ListIndex Property

Definition

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.

Applies to