C# Класс SourceGrid.CellCollection

A collection of elements of type Cells.ICellVirtual
Наследование: System.Collections.CollectionBase
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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