C# Class ICSharpCode.USBlib.BusCollection

Inheritance: System.Collections.CollectionBase
Datei anzeigen Open project: roboime/legacy-roboime Class Usage Examples

Public Methods

Method Description
Add ( Bus val ) : int

Adds a with the specified value to the .

AddRange ( Bus val ) : void

Copies the elements of an array to the end of the .

AddRange ( BusCollection val ) : void

Adds the contents of another to the end of the collection.

BusCollection ( ) : System

Initializes a new instance of .

BusCollection ( Bus val ) : System

Initializes a new instance of containing any array of objects.

BusCollection ( BusCollection val ) : System

Initializes a new instance of based on another .

Contains ( Bus val ) : bool

Gets a value indicating whether the contains the specified .

CopyTo ( Bus array, int index ) : void

Copies the values to a one-dimensional instance at the specified index.

GetEnumerator ( ) : BusEnumerator

Returns an enumerator that can iterate through the .

IndexOf ( Bus val ) : int

Returns the index of a in the .

Insert ( int index, Bus val ) : void

Inserts a into the at the specified index.

Remove ( Bus val ) : void

Removes a specific from the .

this ( int index ) : Bus

Represents the entry at the specified index of the .

Method Details

Add() public method

Adds a with the specified value to the .
public Add ( Bus val ) : int
val Bus The to add.
return int

AddRange() public method

Copies the elements of an array to the end of the .
public AddRange ( Bus val ) : void
val Bus /// An array of type containing the objects to add to the collection. ///
return void

AddRange() public method

Adds the contents of another to the end of the collection.
public AddRange ( BusCollection val ) : void
val BusCollection /// A containing the objects to add to the collection. ///
return void

BusCollection() public method

Initializes a new instance of .
public BusCollection ( ) : System
return System

BusCollection() public method

Initializes a new instance of containing any array of objects.
public BusCollection ( Bus val ) : System
val Bus /// A array of objects with which to intialize the collection ///
return System

BusCollection() public method

Initializes a new instance of based on another .
public BusCollection ( BusCollection val ) : System
val BusCollection /// A from which the contents are copied ///
return System

Contains() public method

Gets a value indicating whether the contains the specified .
public Contains ( Bus val ) : bool
val Bus The to locate.
return bool

CopyTo() public method

Copies the values to a one-dimensional instance at the specified index.
/// is multidimensional. /// -or- /// The number of elements in the is greater than /// the available space between and the end of /// . /// is . is less than 's lowbound.
public CopyTo ( Bus array, int index ) : void
array Bus The one-dimensional that is the destination of the values copied from .
index int The index in where copying begins.
return void

GetEnumerator() public method

Returns an enumerator that can iterate through the .
public GetEnumerator ( ) : BusEnumerator
return BusEnumerator

IndexOf() public method

Returns the index of a in the .
public IndexOf ( Bus val ) : int
val Bus The to locate.
return int

Insert() public method

Inserts a into the at the specified index.
public Insert ( int index, Bus val ) : void
index int The zero-based index where should be inserted.
val Bus The to insert.
return void

Remove() public method

Removes a specific from the .
is not found in the Collection.
public Remove ( Bus val ) : void
val Bus The to remove from the .
return void

this() public method

Represents the entry at the specified index of the .
is outside the valid range of indexes for the collection.
public this ( int index ) : Bus
index int The zero-based index of the entry to locate in the collection.
return Bus