AttributeCollection Class

 

Updated: November 29, 2016

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

Provides a collection of attributes for an entity.

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

SystemObject
  Microsoft.Xrm.SdkDataCollection
    Microsoft.Xrm.SdkAttributeCollection

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

NameDescription
System_CAPS_pubmethodAttributeCollection

Initializes a new instance of the AttributeCollection class.

NameDescription
System_CAPS_pubproperty

Gets the number of elements in the collection.(Inherited from DataCollection.)

System_CAPS_pubproperty

Gets a value indicating whether the DataCollection is read-only.(Inherited from DataCollection.)

System_CAPS_pubproperty

Gets or sets the value associated with the specified key.(Inherited from DataCollection.)

System_CAPS_pubproperty

Gets a collection containing the keys in the DataCollection.(Inherited from DataCollection.)

System_CAPS_pubproperty

Gets a collection containing the values in the DataCollection.(Inherited from DataCollection.)

NameDescription
System_CAPS_pubmethodAdd

Adds the specified key and value to the dictionary.(Inherited from DataCollection.)

System_CAPS_pubmethodAdd

Adds the specified key and value to the dictionary.(Inherited from DataCollection.)

System_CAPS_pubmethodAddRange

Adds the elements of the specified collection to the end of the DataCollection.(Inherited from DataCollection.)

System_CAPS_pubmethodAddRange

Adds the elements of the specified collection to the end of the DataCollection.(Inherited from DataCollection.)

System_CAPS_pubmethodClear

Removes all items from the DataCollection. (Inherited from DataCollection.)

System_CAPS_pubmethodContains

Determines whether the DataCollection contains a specific value.(Inherited from DataCollection.)

System_CAPS_pubmethodContains

Determines whether the DataCollection contains a specific value.(Inherited from DataCollection.)

System_CAPS_pubmethodContainsKey

Determines whether the DataCollection contains a specific key value.(Inherited from DataCollection.)

System_CAPS_pubmethodCopyTo

(Inherited from DataCollection.)

System_CAPS_pubmethodEquals

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator

Returns an enumerator that iterates through a collection.(Inherited from DataCollection.)

System_CAPS_pubmethodGetHashCode

(Inherited from Object.)

System_CAPS_pubmethodGetType

(Inherited from Object.)

System_CAPS_pubmethodRemove

Removes the first occurrence of a specific object from the DataCollection.(Inherited from DataCollection.)

System_CAPS_pubmethodRemove

Removes the first occurrence of a specific object from the DataCollection.(Inherited from DataCollection.)

System_CAPS_pubmethodToString

(Inherited from Object.)

System_CAPS_pubmethodTryGetValue

Gets the value associated with the specified key.(Inherited from DataCollection.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerableGetEnumerator

Returns an enumerator that iterates through the collection.(Inherited from DataCollection.)

For each attribute in the collection there is a key/value pair. The key is the logical name of the attribute as defined in the attribute metadata.

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: