Κοινή χρήση μέσω


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>
[<System.Serializable>]
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>
Derived
Attributes

Remarks

For more information, see Collection.

Methods

AddRange(IEnumerable<T>)

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

AddRange(T[])

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

ToArray()

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

Applies to