BaseCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.1.0.0)
Provides the base functionality for creating data-related collections in the DataGridView control.
- C#
- VB.NET
public abstract class BaseCollection : ICollection, IEnumerable
Public MustInherit Class BaseCollection
Inherits ICollection
Implements IEnumerable
Constructors
BaseCollection()
Initializes a new instance of the BaseCollection class.
Properties
Count
Int32: Returns the total number of elements in the collection.
Value: The total number of elements in the collection.
IsReadOnly
Boolean: Returns a value indicating whether the collection is read-only.
Value: This property is always false.
IsSynchronized
Boolean: Returns a value indicating whether access to the ICollection is synchronized.
Value: This property always returns false.
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.
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
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.
| Parameter | Type | Description |
|---|---|---|
| array | Array | The one-dimensional Array that is the destination of the elements copied from the current Array. |
| index | Int32 | The zero-based relative index in array at which copying begins. |
GetEnumerator()
Returns the object that enables iterating through the members of the collection.
Returns: IEnumerator. An object that implements the IEnumerator interface.
Inherited By
| Name | Description |
|---|---|
| DataGridViewCellCollection | Represents a collection of cells in a DataGridViewRow. |
| DataGridViewChildRowCollection | Represents a collection of DataGridViewRow objects that are childre of another DataGridViewRow. |
| DataGridViewColumnCollection | Represents a collection of DataGridViewColumn objects in a DataGridView control. |
| DataGridViewSelectedCellCollection | Represents a collection of cells that are selected in a DataGridView. |
| DataGridViewSelectedColumnCollection | Represents a collection of DataGridViewColumn objects that are selected in a DataGridView. |
| DataGridViewSelectedRowCollection | Represents a collection of DataGridViewRow objects that are selected in a DataGridView. |