AttributeCollection Class

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Contains a collection of attributes.

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

Syntax

'Declaration
<DebuggerStepThroughAttribute> _
<GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")> _
<CollectionDataContractAttribute(Name:="AttributeCollection", Namespace:="https://schemas.microsoft.com/xrm/2011/Contracts/Deployment", ItemName:="KeyValuePairOfstringanyType")> _
Public Class AttributeCollection
    Inherits DataCollection(Of KeyValuePair(Of String, Object))
[DebuggerStepThroughAttribute] 
[GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 
[CollectionDataContractAttribute(Name="AttributeCollection", Namespace="https://schemas.microsoft.com/xrm/2011/Contracts/Deployment", ItemName="KeyValuePairOfstringanyType")] 
public class AttributeCollection : DataCollection<KeyValuePair<string,Object>>

Remarks

Used in the ConfigurationEntity class to hold a set of configuration attributes.

Inheritance Hierarchy

System.Object
   System.Collections.ObjectModel.Collection
     Microsoft.Xrm.Sdk.DataCollection
      Microsoft.Xrm.Sdk.Deployment.AttributeCollection

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.

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,Smart Phone,Windows Server 2003,Windows XP Professional,Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions), ,Windows 8 (All Versions)

See Also

Reference

AttributeCollection Members
Microsoft.Xrm.Sdk.Deployment Namespace

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.