Classe générique DataCollection

S'applique à: CRM 2015 on-prem, CRM Online

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

Espace de noms: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public Class DataCollection(Of T)
    Inherits Collection(Of T)
[SerializableAttribute] 
public class DataCollection<T> : Collection<T>

GenericParameters

  • T
    The type of elements in the list.

Remarques

For more information, see Collecte.

Hiérarchie d'héritage

System.Object
   System.Collections.ObjectModel.Collection
    Microsoft.Xrm.Sdk.DataCollection
       Classes dérivées

Cohérence de thread

Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.

Plateformes

Plateformes de développement

Windows Vista, Windows Server 2003 et

Plateformes cibles

Windows Vista,Windows XP

Voir aussi

Référence

Membres DataCollection
Espace de noms Microsoft.Xrm.Sdk

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.