Skip to main content
Version: 4.1

BaseCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Provides the base functionality for creating data-related collections in the DataGridView control.

public abstract class BaseCollection : ICollection, IEnumerable

Constructors​

Instance member BaseCollection()​

Initializes a new instance of the BaseCollection class.

Properties​

Instance member Count​

Int32: Returns the total number of elements in the collection.

Value: The total number of elements in the collection.

Instance member IsReadOnly​

Boolean: Returns a value indicating whether the collection is read-only.

Value: This property is always false.

Instance member IsSynchronized​

Boolean: Returns a value indicating whether access to the ICollection is synchronized.

Value: This property always returns false.

Instance member List​

IList: Returns the list of elements contained in the BaseCollection instance.

Value: An ArrayList containing the elements of the collection. This property returns null unless overridden in a derived class.

Instance member SyncRoot​

Object: Returns an object that can be used to synchronize access to the BaseCollection.

Value: An object that can be used to synchronize the BaseCollection.

Methods​

Instance member CopyTo(array, index)​

Copies all the elements of the current one-dimensional Array to the specified one-dimensional Array starting at the specified destination Array index.

ParameterTypeDescription
arrayArrayThe one-dimensional Array that is the destination of the elements copied from the current Array.
indexInt32The zero-based relative index in array at which copying begins.

Instance member GetEnumerator()​

Returns the object that enables iterating through the members of the collection.

Returns: IEnumerator. An object that implements the IEnumerator interface.

Inherited By​

NameDescription
DataGridViewCellCollectionRepresents a collection of cells in a DataGridViewRow.
DataGridViewChildRowCollectionRepresents a collection of DataGridViewRow objects that are childre of another DataGridViewRow.
DataGridViewColumnCollectionRepresents a collection of DataGridViewColumn objects in a DataGridView control.
DataGridViewSelectedCellCollectionRepresents a collection of cells that are selected in a DataGridView.
DataGridViewSelectedColumnCollectionRepresents a collection of DataGridViewColumn objects that are selected in a DataGridView.
DataGridViewSelectedRowCollectionRepresents a collection of DataGridViewRow objects that are selected in a DataGridView.