Skip to main content
Version: 3.5

SelectedIndexCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents the collection containing the indexes to the selected items in a ListBox.

public class SelectedIndexCollection : IList, ICollection, IEnumerable

Properties​

Instance memberCount​

Int32: Returns the number of selected items.

Instance memberIsReadOnly​

Boolean: Returns whether the collection is read-only.

Instance memberItem(index)​

Int32: Returns the index of the selected item.

Methods​

Instance memberAdd(index)​

Selects the item at the specified index.

ParameterTypeDescription
indexInt32

Instance memberClear()​

Clears all the selected items.

Instance memberContains(index)​

Checks if the specified index is in the selected items collection.

ParameterTypeDescription
indexInt32The index of the item to check.

Returns: Boolean.

Instance memberCopyTo(destination, index)​

ParameterTypeDescription
destinationArray
indexInt32

Instance memberGetEnumerator()​

Returns: IEnumerator.

Instance memberIndexOf(index)​

Finds the selected index in the collection.

ParameterTypeDescription
indexInt32

Returns: Int32.

Instance memberRemove(index)​

Unselects the specified index.

ParameterTypeDescription
indexInt32