TechNet
Export (0) Print
Expand All

DataCollection<TKey, TValue> Class

 

Represents a collection of keys and values.

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


[SerializableAttribute]
public abstract class DataCollection<TKey, TValue> : IEnumerable<KeyValuePair<TKey, TValue>>, 
	IEnumerable

Type Parameters

TKey

The type of the keys in the dictionary.

TValue

The type of the values in the dictionary.

NameDescription
System_CAPS_protmethodDataCollection<TKey, TValue>()

Initializes a new instance of the DataCollection<TKey, TValue> class.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of elements in the collection.

System_CAPS_pubpropertyIsReadOnly

Gets a value indicating whether the DataCollection<TKey, TValue> is read-only.

System_CAPS_pubpropertyItem[TKey]

Gets or sets the value associated with the specified key.

System_CAPS_pubpropertyKeys

Gets a collection containing the keys in the DataCollection<TKey, TValue>.

System_CAPS_pubpropertyValues

Gets a collection containing the values in the DataCollection<TKey, TValue>.

NameDescription
System_CAPS_pubmethodAdd(TKey, TValue)

Adds the specified key and value to the dictionary.

System_CAPS_pubmethodAdd(KeyValuePair<TKey, TValue>)

Adds the specified key and value to the dictionary.

System_CAPS_pubmethodAddRange(IEnumerable<KeyValuePair<TKey, TValue>>)

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

System_CAPS_pubmethodAddRange(KeyValuePair<TKey, TValue>[])

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

System_CAPS_pubmethodClear()

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

System_CAPS_pubmethodContains(TKey)

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

System_CAPS_pubmethodContains(KeyValuePair<TKey, TValue>)

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

System_CAPS_pubmethodContainsKey(TKey)

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

System_CAPS_pubmethodCopyTo(KeyValuePair<TKey, TValue>[], Int32)

System_CAPS_pubmethodEquals(Object)

(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(TKey)

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

System_CAPS_pubmethodRemove(KeyValuePair<TKey, TValue>)

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

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTryGetValue(TKey, TValue)

Gets the value associated with the specified key.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

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 CRM 2016 and CRM Online

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

Show:
© 2016 Microsoft