DataCollection<T> DataCollection<T> DataCollection<T> DataCollection<T> Class

Definition

Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists. Extends Collection.

generic <typename T>
public ref class DataCollection : System::Collections::ObjectModel::Collection<T>
[System.Serializable]
public class DataCollection<T> : System.Collections.ObjectModel.Collection<T>
type DataCollection<'T> = class
    inherit Collection<'T>
Public Class DataCollection(Of T)
Inherits Collection(Of T)

Type Parameters

T

The type of elements in the list.

Inheritance
DataCollection<T>DataCollection<T>DataCollection<T>DataCollection<T>
Derived
Attributes

Remarks

For more information, see Collection.

Methods

AddRange(IEnumerable<T>) AddRange(IEnumerable<T>) AddRange(IEnumerable<T>) AddRange(IEnumerable<T>)

Adds the elements of the specified collection to the end of the DataCollection.

AddRange(T[]) AddRange(T[]) AddRange(T[]) AddRange(T[])

Adds the elements of the specified collection to the end of the DataCollection<T>.

ToArray() ToArray() ToArray() ToArray()

Copies the elements of the DataCollection<T> to a new array.

Applies to