Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Represents the entity attribute collection.
Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Inheritance Hierarchy
System.Object
  Microsoft.Xrm.Sdk.DataCollection<TKey, TValue>
    Microsoft.Xrm.Sdk.EntityAttributeCollection
Syntax
[SerializableAttribute]
[CollectionDataContractAttribute(Name = "EntityAttributeCollection", 
    Namespace = "https://schemas.microsoft.com/xrm/7.1/Contracts")]
public sealed class EntityAttributeCollection : DataCollection<string, StringCollection>
<SerializableAttribute>
<CollectionDataContractAttribute(Name := "EntityAttributeCollection",
    Namespace := "https://schemas.microsoft.com/xrm/7.1/Contracts")>
Public NotInheritable Class EntityAttributeCollection
    Inherits DataCollection(Of String, StringCollection)
Constructors
| Name | Description | |
|---|---|---|
| .jpeg) | EntityAttributeCollection() | Initializes a new instance of the EntityAttributeCollection class. | 
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | Count | Gets the number of elements in the collection.(Inherited from DataCollection<TKey, TValue>.) | 
| .jpeg) | IsReadOnly | Gets a value indicating whether the DataCollection<TKey, TValue> is read-only.(Inherited from DataCollection<TKey, TValue>.) | 
| .jpeg) | Item[TKey] | Gets or sets the value associated with the specified key.(Inherited from DataCollection<TKey, TValue>.) | 
| .jpeg) | Keys | Gets a collection containing the keys in the DataCollection<TKey, TValue>.(Inherited from DataCollection<TKey, TValue>.) | 
| .jpeg) | Values | Gets a collection containing the values in the DataCollection<TKey, TValue>.(Inherited from DataCollection<TKey, TValue>.) | 
Methods
| Name | Description | |
|---|---|---|
| .jpeg) | Add(TKey, TValue) | Adds the specified key and value to the dictionary.(Inherited from DataCollection<TKey, TValue>.) | 
| .jpeg) | Add(KeyValuePair<TKey, TValue>) | Adds the specified key and value to the dictionary.(Inherited from DataCollection<TKey, TValue>.) | 
| .jpeg) | AddRange(IEnumerable<KeyValuePair<TKey, TValue>>) | Adds the elements of the specified collection to the end of the DataCollection<TKey, TValue>.(Inherited from DataCollection<TKey, TValue>.) | 
| .jpeg) | AddRange(KeyValuePair<TKey, TValue>[]) | Adds the elements of the specified collection to the end of the DataCollection<TKey, TValue>.(Inherited from DataCollection<TKey, TValue>.) | 
| .jpeg) | Clear() | Removes all items from the DataCollection<TKey, TValue>. (Inherited from DataCollection<TKey, TValue>.) | 
| .jpeg) | Contains(TKey) | Determines whether the DataCollection<TKey, TValue> contains a specific value.(Inherited from DataCollection<TKey, TValue>.) | 
| .jpeg) | Contains(TKey) | Determines whether the DataCollection<TKey, TValue> contains a specific value.(Inherited from DataCollection<TKey, TValue>.) | 
| .jpeg) | ContainsKey(TKey) | Determines whether the DataCollection<TKey, TValue> contains a specific key value.(Inherited from DataCollection<TKey, TValue>.) | 
| .jpeg) | CopyTo(KeyValuePair<TKey, TValue>[], Int32) | (Inherited from DataCollection<TKey, TValue>.) | 
| .jpeg) | Equals(Object) | (Inherited from Object.) | 
| .jpeg) | GetEnumerator() | Returns an enumerator that iterates through a collection.(Inherited from DataCollection<TKey, TValue>.) | 
| .jpeg) | GetHashCode() | (Inherited from Object.) | 
| .jpeg) | GetType() | (Inherited from Object.) | 
| .jpeg) | Remove(TKey) | Removes the first occurrence of a specific object from the DataCollection<TKey, TValue>.(Inherited from DataCollection<TKey, TValue>.) | 
| .jpeg) | Remove(TKey) | Removes the first occurrence of a specific object from the DataCollection<TKey, TValue>.(Inherited from DataCollection<TKey, TValue>.) | 
| .jpeg) | ToString() | (Inherited from Object.) | 
| .jpeg) | TryGetValue(TKey, TValue) | Gets the value associated with the specified key.(Inherited from DataCollection<TKey, TValue>.) | 
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .jpeg) .jpeg) | IEnumerable.GetEnumerator() | Returns an enumerator that iterates through the collection.(Inherited from DataCollection<TKey, TValue>.) | 
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright