C# Class vbAccelerator.Components.Controls.VListBox.SelectedIndexCollection

Implements a read-only collection of selected items in the VListBox.
Inheritance: ICollection, IEnumerable
ファイルを表示 Open project: Blackfrosch/VAGEDCSuite Class Usage Examples

Public Methods

Method Description
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.

Method Details

CopyTo() public method

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.
return void

GetEnumerator() public method

Returns an enumerator which allows iteration through the selected items collection.
public GetEnumerator ( ) : IEnumerator
return IEnumerator

SelectedIndexCollection() public method

Creates a new instance of this class
public SelectedIndexCollection ( VListBox owner ) : System
owner VListBox The VListBox which owns the collection
return System

this() public method

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
return int