C# Класс vbAccelerator.Components.Controls.VListBox.SelectedIndexCollection

Implements a read-only collection of selected items in the VListBox.
Наследование: ICollection, IEnumerable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CopyTo ( Array dest, int startIndex ) : void

Not implemented. Throws an exception.

GetEnumerator ( ) : IEnumerator

Returns an enumerator which allows iteration through the selected items collection.

SelectedIndexCollection ( VListBox owner ) : System

Creates a new instance of this class

this ( int index ) : int

Returns the selected item with the specified 0-based index in the collection of selected items.

Do not use this method to enumerate through all selected items as it gets the collection of selected items each item it is called. The foreach enumerator only gets the collection of items once when it is constructed and is therefore quicker.

Описание методов

CopyTo() публичный Метод

Not implemented. Throws an exception.
public CopyTo ( Array dest, int startIndex ) : void
dest System.Array Array to copy items to
startIndex int First index in array to put items in.
Результат void

GetEnumerator() публичный Метод

Returns an enumerator which allows iteration through the selected items collection.
public GetEnumerator ( ) : IEnumerator
Результат IEnumerator

SelectedIndexCollection() публичный Метод

Creates a new instance of this class
public SelectedIndexCollection ( VListBox owner ) : System
owner VListBox The VListBox which owns the collection
Результат System

this() публичный Метод

Returns the selected item with the specified 0-based index in the collection of selected items.
Do not use this method to enumerate through all selected items as it gets the collection of selected items each item it is called. The foreach enumerator only gets the collection of items once when it is constructed and is therefore quicker.
public this ( int index ) : int
index int
Результат int