DataCollection<TKey, TValue> Methods

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Methods

Name Description
System_CAPS_pubmethod Add(TKey, TValue)

Adds the specified key and value to the dictionary.

System_CAPS_pubmethod Add(KeyValuePair<TKey, TValue>)

Adds the specified key and value to the dictionary.

System_CAPS_pubmethod AddRange(IEnumerable<KeyValuePair<TKey, TValue>>)

Adds the elements of the specified collection to the end of the DataCollection<TKey, TValue>.

System_CAPS_pubmethod AddRange(KeyValuePair<TKey, TValue>[])

Adds the elements of the specified collection to the end of the DataCollection<TKey, TValue>.

System_CAPS_pubmethod Clear()

Removes all items from the DataCollection<TKey, TValue>.

System_CAPS_pubmethod Contains(TKey)

Determines whether the DataCollection<TKey, TValue> contains a specific value.

System_CAPS_pubmethod Contains(KeyValuePair<TKey, TValue>)

Determines whether the DataCollection<TKey, TValue> contains a specific value.

System_CAPS_pubmethod ContainsKey(TKey)

Determines whether the DataCollection<TKey, TValue> contains a specific key value.

System_CAPS_pubmethod CopyTo(KeyValuePair<TKey, TValue>[], Int32)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetEnumerator()

Returns an enumerator that iterates through a collection.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Remove(TKey)

Removes the first occurrence of a specific object from the DataCollection<TKey, TValue>.

System_CAPS_pubmethod Remove(KeyValuePair<TKey, TValue>)

Removes the first occurrence of a specific object from the DataCollection<TKey, TValue>.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TryGetValue(TKey, TValue)

Gets the value associated with the specified key.

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the collection.

See Also

DataCollection<TKey, TValue> Class
Microsoft.Xrm.Sdk Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright