DataCollection Class

 

Updated: November 29, 2016

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

Represents a collection of keys and values.

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


No code example is currently available or this language may not be supported.

Type Parameters

TKey

The type of the keys in the dictionary.

TValue

The type of the values in the dictionary.

NameDescription
System_CAPS_protmethodDataCollection

Initializes a new instance of the DataCollection class.

NameDescription
System_CAPS_pubproperty

Gets the number of elements in the collection.

System_CAPS_pubproperty

Gets a value indicating whether the DataCollection is read-only.

System_CAPS_pubproperty

Gets or sets the value associated with the specified key.

System_CAPS_pubproperty

Gets a collection containing the keys in the DataCollection.

System_CAPS_pubproperty

Gets a collection containing the values in the DataCollection.

NameDescription
System_CAPS_pubmethodAdd

Adds the specified key and value to the dictionary.

System_CAPS_pubmethodAdd

Adds the specified key and value to the dictionary.

System_CAPS_pubmethodAddRange

Adds the elements of the specified collection to the end of the DataCollection.

System_CAPS_pubmethodAddRange

Adds the elements of the specified collection to the end of the DataCollection.

System_CAPS_pubmethodClear

Removes all items from the DataCollection.

System_CAPS_pubmethodContains

Determines whether the DataCollection contains a specific value.

System_CAPS_pubmethodContains

Determines whether the DataCollection contains a specific value.

System_CAPS_pubmethodContainsKey

Determines whether the DataCollection contains a specific key value.

System_CAPS_pubmethodCopyTo

System_CAPS_pubmethodEquals

(Inherited from Object.)

System_CAPS_protmethodFinalize

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator

Returns an enumerator that iterates through a collection.

System_CAPS_pubmethodGetHashCode

(Inherited from Object.)

System_CAPS_pubmethodGetType

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone

(Inherited from Object.)

System_CAPS_pubmethodRemove

Removes the first occurrence of a specific object from the DataCollection.

System_CAPS_pubmethodRemove

Removes the first occurrence of a specific object from the DataCollection.

System_CAPS_pubmethodToString

(Inherited from Object.)

System_CAPS_pubmethodTryGetValue

Gets the value associated with the specified key.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerableGetEnumerator

Returns an enumerator that iterates through the collection.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

Show: