Partager via


RelatedEntityCollection Members

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Contains a collection of related entities.

The following tables list the members exposed by the RelatedEntityCollection type.

Public Constructors

  Name Description
  RelatedEntityCollection Initializes a new instance of the RelatedEntityCollection class.

Top

Public Properties

  Name Description
public property Count  Gets the number of elements in the collection. (inherited from DataCollection)
public property IsReadOnly Overridden. Gets a value indicating whether the RelatedEntityCollection is read-only.
public property Item  Gets or sets the value associated with the specified key. (inherited from DataCollection)
public property Keys  Gets a collection containing the keys in the DataCollection. (inherited from DataCollection)
public property Values  Gets a collection containing the values in the DataCollection. (inherited from DataCollection)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Add  Overloaded. Adds the specified key and value to the dictionary. (inherited from DataCollection)
public method AddRange  Overloaded. Adds the elements of the specified collection to the end of the DataCollection. (inherited from DataCollection)
public method Clear  Removes all items from the DataCollection.  (inherited from DataCollection)
public method Contains  Overloaded. Determines whether the DataCollection contains a specific value. (inherited from DataCollection)
public method ContainsKey  Determines whether the DataCollection contains a specific key value. (inherited from DataCollection)
public method CopyTo  (inherited from DataCollection)
public method Equals  (inherited from Object)
public method GetEnumerator  Returns an enumerator that iterates through a collection. (inherited from DataCollection)
public method GetHashCode  (inherited from Object)
public method GetType  (inherited from Object)
public method Remove  Overloaded. Removes the first occurrence of a specific object from the DataCollection. (inherited from DataCollection)
public method ToString  (inherited from Object)
public method TryGetValue  Gets the value associated with the specified key. (inherited from DataCollection)

Top

Protected Methods

  Name Description
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)

Top

Explicit Interface Implementations

  Name Description
  GetEnumerator  Returns an enumerator that iterates through the collection. (inherited from DataCollection)

Top

See Also

Reference

RelatedEntityCollection Class
Microsoft.Xrm.Sdk Namespace

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