C# 클래스 SourceGrid.CellCollection

A collection of elements of type Cells.ICellVirtual
상속: System.Collections.CollectionBase
파일 보기 프로젝트 열기: zhuangyy/Motion 1 사용 예제들

공개 메소드들

메소드 설명
Add ( Cells value ) : void

Adds an instance of type Cells.ICellVirtual to the end of this CellBaseCollection.

AddRange ( CellCollection items ) : void

Adds the elements of another CellBaseCollection to the end of this CellBaseCollection.

AddRange ( Cells items ) : void

Adds the elements of an array to the end of this CellBaseCollection.

CellCollection ( ) : System

Initializes a new empty instance of the CellBaseCollection class.

CellCollection ( CellCollection items ) : System

Initializes a new instance of the CellBaseCollection class, containing elements copied from another instance of CellBaseCollection

CellCollection ( Cells items ) : System

Initializes a new instance of the CellBaseCollection class, containing elements copied from an array.

Contains ( Cells value ) : bool

Determines whether a specfic Cells.ICellVirtual value is in this CellBaseCollection.

GetEnumerator ( ) : CellCollection.Enumerator

Returns an enumerator that can iterate through the elements of this CellBaseCollection.

IndexOf ( Cells value ) : int

Return the zero-based index of the first occurrence of a specific value in this CellBaseCollection

Insert ( int index, Cells value ) : void

Inserts an element into the CellBaseCollection at the specified index

Remove ( Cells value ) : void

Removes the first occurrence of a specific Cells.ICellVirtual from this CellBaseCollection.

this ( int index ) : Cells.ICellVirtual

Gets or sets the Cells.ICellVirtual at the given index in this CellBaseCollection.

메소드 상세

Add() 공개 메소드

Adds an instance of type Cells.ICellVirtual to the end of this CellBaseCollection.
public Add ( Cells value ) : void
value Cells /// The Cells.ICellVirtual to be added to the end of this CellBaseCollection. ///
리턴 void

AddRange() 공개 메소드

Adds the elements of another CellBaseCollection to the end of this CellBaseCollection.
public AddRange ( CellCollection items ) : void
items CellCollection /// The CellBaseCollection whose elements are to be added to the end of this CellBaseCollection. ///
리턴 void

AddRange() 공개 메소드

Adds the elements of an array to the end of this CellBaseCollection.
public AddRange ( Cells items ) : void
items Cells /// The array whose elements are to be added to the end of this CellBaseCollection. ///
리턴 void

CellCollection() 공개 메소드

Initializes a new empty instance of the CellBaseCollection class.
public CellCollection ( ) : System
리턴 System

CellCollection() 공개 메소드

Initializes a new instance of the CellBaseCollection class, containing elements copied from another instance of CellBaseCollection
public CellCollection ( CellCollection items ) : System
items CellCollection /// The CellBaseCollection whose elements are to be added to the new CellBaseCollection. ///
리턴 System

CellCollection() 공개 메소드

Initializes a new instance of the CellBaseCollection class, containing elements copied from an array.
public CellCollection ( Cells items ) : System
items Cells /// The array whose elements are to be added to the new CellBaseCollection. ///
리턴 System

Contains() 공개 메소드

Determines whether a specfic Cells.ICellVirtual value is in this CellBaseCollection.
public Contains ( Cells value ) : bool
value Cells /// The Cells.ICellVirtual value to locate in this CellBaseCollection. ///
리턴 bool

GetEnumerator() 공개 메소드

Returns an enumerator that can iterate through the elements of this CellBaseCollection.
public GetEnumerator ( ) : CellCollection.Enumerator
리턴 CellCollection.Enumerator

IndexOf() 공개 메소드

Return the zero-based index of the first occurrence of a specific value in this CellBaseCollection
public IndexOf ( Cells value ) : int
value Cells /// The Cells.ICellVirtual value to locate in the CellBaseCollection. ///
리턴 int

Insert() 공개 메소드

Inserts an element into the CellBaseCollection at the specified index
public Insert ( int index, Cells value ) : void
index int /// The index at which the Cells.ICellVirtual is to be inserted. ///
value Cells /// The Cells.ICellVirtual to insert. ///
리턴 void

Remove() 공개 메소드

Removes the first occurrence of a specific Cells.ICellVirtual from this CellBaseCollection.
public Remove ( Cells value ) : void
value Cells /// The Cells.ICellVirtual value to remove from this CellBaseCollection. ///
리턴 void

this() 공개 메소드

Gets or sets the Cells.ICellVirtual at the given index in this CellBaseCollection.
public this ( int index ) : Cells.ICellVirtual
index int
리턴 Cells.ICellVirtual