HtmlSelect.SelectedIndices 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 a collection that contains the zero-based indexes of all currently selected items in the HtmlSelect control.
protected:
virtual property cli::array <int> ^ SelectedIndices { cli::array <int> ^ get(); };
protected virtual int[] SelectedIndices { get; }
member this.SelectedIndices : int[]
Protected Overridable ReadOnly Property SelectedIndices As Integer()
Property Value
A collection that contains the zero-based indexes of all currently selected items in the HtmlSelect control.
Remarks
The SelectedIndices property is used by the HtmlSelect class to return a collection that contains the zero-based indexes of all currently selected items in the HtmlSelect control.
Control developers extending the functionality of the HtmlSelect class can override the SelectedIndices property to provide a custom algorithm for returning currently selected items.
Applies to
.NET