EntityReferenceCollection EntityReferenceCollection EntityReferenceCollection EntityReferenceCollection Class

Definition

Contains a collection of entity references.

public ref class EntityReferenceCollection sealed : Microsoft::Xrm::Sdk::DataCollection<Microsoft::Xrm::Sdk::EntityReference ^>
[System.Runtime.Serialization.CollectionDataContract(Name="EntityReferenceCollection", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class EntityReferenceCollection : Microsoft.Xrm.Sdk.DataCollection<Microsoft.Xrm.Sdk.EntityReference>
type EntityReferenceCollection = class
    inherit DataCollection<EntityReference>
Public NotInheritable Class EntityReferenceCollection
Inherits DataCollection(Of EntityReference)
Inheritance
EntityReferenceCollectionEntityReferenceCollectionEntityReferenceCollectionEntityReferenceCollection
Attributes

Constructors

EntityReferenceCollection() EntityReferenceCollection() EntityReferenceCollection() EntityReferenceCollection()

Initializes a new instance of the EntityReferenceCollection class.

EntityReferenceCollection(IList<EntityReference>) EntityReferenceCollection(IList<EntityReference>) EntityReferenceCollection(IList<EntityReference>) EntityReferenceCollection(IList<EntityReference>)

Initializes a new instance of the EntityReferenceCollection class setting the list of entity references.

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.

(Inherited from DataCollection<T>)
AddRange(T[]) AddRange(T[]) AddRange(T[]) AddRange(T[])

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

(Inherited from DataCollection<T>)
ToArray() ToArray() ToArray() ToArray()

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

(Inherited from DataCollection<T>)

Applies to