Export (0) Print
Expand All

DataCollection Members

Applies To: CRM 2015 on-prem, CRM Online

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Represents a collection of keys and values.

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

 NameDescription
public propertyCountGets the number of elements in the collection.
public propertyIsReadOnlyGets a value indicating whether the DataCollection is read-only.
public propertyItemGets or sets the value associated with the specified key.
public propertyKeysGets a collection containing the keys in the DataCollection.
public propertyValuesGets a collection containing the values in the DataCollection.
Top

(see also Protected Methods)
 NameDescription
public methodAddOverloaded. Adds the specified key and value to the dictionary.
public methodAddRangeOverloaded. Adds the elements of the specified collection to the end of the DataCollection.
public methodClearRemoves all items from the DataCollection.
public methodContainsOverloaded. Determines whether the DataCollection contains a specific value.
public methodContainsKeyDetermines whether the DataCollection contains a specific key value.
public methodCopyTo 
public methodEquals  (inherited from Object)
public methodGetEnumeratorReturns an enumerator that iterates through a collection.
public methodGetHashCode  (inherited from Object)
public methodGetType  (inherited from Object)
public methodRemoveOverloaded. Removes the first occurrence of a specific object from the DataCollection.
public methodToString  (inherited from Object)
public methodTryGetValueGets the value associated with the specified key.
Top

 NameDescription
protected methodFinalize  (inherited from Object)
protected methodMemberwiseClone  (inherited from Object)
Top

 NameDescription
 GetEnumeratorReturns an enumerator that iterates through the collection.
Top

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft