C# 클래스 ICSharpCode.USBlib.DescriptorCollection

상속: System.Collections.CollectionBase
파일 보기 프로젝트 열기: roboime/legacy-roboime 1 사용 예제들

공개 메소드들

메소드 설명
Add ( Descriptor val ) : int

Adds a with the specified value to the .

AddRange ( Descriptor val ) : void

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

AddRange ( DescriptorCollection val ) : void

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

Contains ( Descriptor val ) : bool

Gets a value indicating whether the contains the specified .

CopyTo ( Descriptor array, int index ) : void

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

DescriptorCollection ( ) : System

Initializes a new instance of .

DescriptorCollection ( Descriptor val ) : System

Initializes a new instance of containing any array of objects.

DescriptorCollection ( DescriptorCollection val ) : System

Initializes a new instance of based on another .

GetEnumerator ( ) : DescriptorEnumerator

Returns an enumerator that can iterate through the .

IndexOf ( Descriptor val ) : int

Returns the index of a in the .

Insert ( int index, Descriptor val ) : void

Inserts a into the at the specified index.

Remove ( Descriptor val ) : void

Removes a specific from the .

this ( int index ) : Descriptor

Represents the entry at the specified index of the .

메소드 상세

Add() 공개 메소드

Adds a with the specified value to the .
public Add ( Descriptor val ) : int
val Descriptor The to add.
리턴 int

AddRange() 공개 메소드

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

AddRange() 공개 메소드

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

Contains() 공개 메소드

Gets a value indicating whether the contains the specified .
public Contains ( Descriptor val ) : bool
val Descriptor The to locate.
리턴 bool

CopyTo() 공개 메소드

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 ( Descriptor array, int index ) : void
array Descriptor The one-dimensional that is the destination of the values copied from .
index int The index in where copying begins.
리턴 void

DescriptorCollection() 공개 메소드

Initializes a new instance of .
public DescriptorCollection ( ) : System
리턴 System

DescriptorCollection() 공개 메소드

Initializes a new instance of containing any array of objects.
public DescriptorCollection ( Descriptor val ) : System
val Descriptor /// A array of objects with which to intialize the collection ///
리턴 System

DescriptorCollection() 공개 메소드

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

GetEnumerator() 공개 메소드

Returns an enumerator that can iterate through the .
public GetEnumerator ( ) : DescriptorEnumerator
리턴 DescriptorEnumerator

IndexOf() 공개 메소드

Returns the index of a in the .
public IndexOf ( Descriptor val ) : int
val Descriptor The to locate.
리턴 int

Insert() 공개 메소드

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

Remove() 공개 메소드

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

this() 공개 메소드

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