DataCollection<T> Class
Applies To: Dynamics CRM 2015
Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists. Extends Collection.
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Inheritance Hierarchy
System.Object
System.Collections.ObjectModel.Collection<T>
Microsoft.Xrm.Sdk.DataCollection<T>
Microsoft.Crm.Sdk.Messages.AuditPartitionDetailCollection
Microsoft.Xrm.Sdk.AttributeMappingCollection
Microsoft.Xrm.Sdk.AttributePrivilegeCollection
Microsoft.Xrm.Sdk.BusinessEntityChangesCollection
Microsoft.Xrm.Sdk.Deployment.AttributeCollection
Microsoft.Xrm.Sdk.Deployment.ErrorDetailCollection
Microsoft.Xrm.Sdk.Discovery.OrganizationDetailCollection
Microsoft.Xrm.Sdk.EntityReferenceCollection
Microsoft.Xrm.Sdk.ExecuteMultipleResponseItemCollection
Microsoft.Xrm.Sdk.LocalizedLabelCollection
Microsoft.Xrm.Sdk.MailboxTrackingFolderMappingCollection
Microsoft.Xrm.Sdk.Metadata.EntityMetadataCollection
Microsoft.Xrm.Sdk.Metadata.OptionMetadataCollection
Microsoft.Xrm.Sdk.OrganizationRequestCollection
Microsoft.Xrm.Sdk.OrganizationResponseCollection
Microsoft.Xrm.Sdk.QuickFindConfigurationCollection
Microsoft.Xrm.Sdk.QuickFindResultCollection
Syntax
[SerializableAttribute]
public class DataCollection<T> : Collection<T>
generic<typename T>
[SerializableAttribute]
public ref class DataCollection : Collection<T>
[<SerializableAttribute>]
type DataCollection<'T> =
class
inherit Collection<'T>
end
<SerializableAttribute>
Public Class DataCollection(Of T)
Inherits Collection(Of T)
Type Parameters
- T
The type of elements in the list.
Properties
Name | Description | |
---|---|---|
Count | (Inherited from Collection<T>.) |
|
Item[Int32] | (Inherited from Collection<T>.) |
|
Items | (Inherited from Collection<T>.) |
Methods
Name | Description | |
---|---|---|
Add(T) | (Inherited from Collection<T>.) |
|
AddRange(T[]) | Adds the elements of the specified collection to the end of the DataCollection<T>. |
|
AddRange(IEnumerable<T>) | Adds the elements of the specified collection to the end of the DataCollection. |
|
Clear() | (Inherited from Collection<T>.) |
|
ClearItems() | (Inherited from Collection<T>.) |
|
Contains(T) | (Inherited from Collection<T>.) |
|
CopyTo(T[], Int32) | (Inherited from Collection<T>.) |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetEnumerator() | (Inherited from Collection<T>.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
IndexOf(T) | (Inherited from Collection<T>.) |
|
Insert(Int32, T) | (Inherited from Collection<T>.) |
|
InsertItem(Int32, T) | (Inherited from Collection<T>.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
Remove(T) | (Inherited from Collection<T>.) |
|
RemoveAt(Int32) | (Inherited from Collection<T>.) |
|
RemoveItem(Int32) | (Inherited from Collection<T>.) |
|
SetItem(Int32, T) | (Inherited from Collection<T>.) |
|
ToArray() | Copies the elements of the DataCollection<T> to a new array. |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection.CopyTo(Array, Int32) | (Inherited from Collection<T>.) |
|
IEnumerable.GetEnumerator() | (Inherited from Collection<T>.) |
|
IList.Add(Object) | (Inherited from Collection<T>.) |
|
IList.Contains(Object) | (Inherited from Collection<T>.) |
|
IList.IndexOf(Object) | (Inherited from Collection<T>.) |
|
IList.Insert(Int32, Object) | (Inherited from Collection<T>.) |
|
IList.Remove(Object) | (Inherited from Collection<T>.) |
|
ICollection<T>.IsReadOnly | (Inherited from Collection<T>.) |
|
ICollection.IsSynchronized | (Inherited from Collection<T>.) |
|
ICollection.SyncRoot | (Inherited from Collection<T>.) |
|
IList.IsFixedSize | (Inherited from Collection<T>.) |
|
IList.IsReadOnly | (Inherited from Collection<T>.) |
|
IList.Item[Int32] | (Inherited from Collection<T>.) |
Remarks
For more information, see Collection.
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Return to top
© 2016 Microsoft. All rights reserved. Copyright