BaseCollection Class
Provides the base functionality for creating data-related collections in the System.Windows.Forms namespace.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
System::MarshalByRefObject
System.Windows.Forms::BaseCollection
System.Windows.Forms::BindingsCollection
System.Windows.Forms::DataGridViewCellCollection
System.Windows.Forms::DataGridViewColumnCollection
System.Windows.Forms::DataGridViewSelectedCellCollection
System.Windows.Forms::DataGridViewSelectedColumnCollection
System.Windows.Forms::DataGridViewSelectedRowCollection
System.Windows.Forms::GridColumnStylesCollection
System.Windows.Forms::GridTableStylesCollection
| Name | Description | |
|---|---|---|
![]() | BaseCollection() | Initializes a new instance of the BaseCollection class. |
| Name | Description | |
|---|---|---|
![]() | Count | Gets the total number of elements in the collection. |
![]() | IsReadOnly | Gets a value indicating whether the collection is read-only. |
![]() | IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized. |
![]() | List | Gets the list of elements contained in the BaseCollection instance. |
![]() | SyncRoot | Gets an object that can be used to synchronize access to the BaseCollection. |
| Name | Description | |
|---|---|---|
![]() | CopyTo(Array^, Int32) | |
![]() | CreateObjRef(Type^) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetEnumerator() | Gets the object that enables iterating through the members of the collection. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetLifetimeService() | Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() | GetType() | |
![]() | InitializeLifetimeService() | Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() | MemberwiseClone() | |
![]() | MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.) |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
The BaseCollection class is not intended for use by application developers. Application developers should use CollectionBase instead.
The BaseCollection class implements the ICollection interface.
Classes that derive from the BaseCollection class include:
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



