EntityReferenceCollection Class
Definition
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.
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>
[<System.Runtime.Serialization.CollectionDataContract(Name="EntityReferenceCollection", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")>]
type EntityReferenceCollection = class
inherit DataCollection<EntityReference>
Public NotInheritable Class EntityReferenceCollection
Inherits DataCollection(Of EntityReference)
- Inheritance
- Attributes
Constructors
EntityReferenceCollection() |
Initializes a new instance of the EntityReferenceCollection class. |
EntityReferenceCollection(IList<EntityReference>) |
Initializes a new instance of the EntityReferenceCollection class setting the list of entity references. |
Methods
AddRange(IEnumerable<T>) |
Adds the elements of the specified collection to the end of the |
AddRange(T[]) |
Adds the elements of the specified collection to the end of the DataCollection<T>. (Inherited from DataCollection<T>) |
ToArray() |
Copies the elements of the DataCollection<T> to a new array. (Inherited from DataCollection<T>) |