_CommandBarComboBox::ListIndex Property

 

Gets or sets the (1-based) index of the selected item in the list.

Namespace:   Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

[DispIdAttribute(1610940427)]
property int ListIndex {
	[DispIdAttribute(1610940427)]
	int get();
	[DispIdAttribute(1610940427)]
	void set(int value);
}

Property Value

Type: System::Int32

The (1-based) index of the selected item in the list.

The set accessor is deprecated, and throws a DeprecatedException.

Return to top
Show: