Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DataCollection<T> Class

Definition

Namespace:
Microsoft.Xrm.Sdk
Assembly:
Microsoft.Xrm.Sdk.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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.

Constructors

Name Description
DataCollection<T>(Int32)

Methods

Name Description
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