Delen via


AttributeCollection-klasse

Provides a collection of attributes for an entity.

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

Syntaxis

'Declaratie
<KnownTypeAttribute("GetKnownParameterTypes")> _
<CollectionDataContractAttribute(Name:="AttributeCollection", Namespace:="https://schemas.microsoft.com/xrm/2011/Contracts")> _
Public NotInheritable Class AttributeCollection
    Inherits DataCollection(Of String, Object)
[KnownTypeAttribute("GetKnownParameterTypes")] 
[CollectionDataContractAttribute(Name="AttributeCollection", Namespace="https://schemas.microsoft.com/xrm/2011/Contracts")] 
public sealed class AttributeCollection : DataCollection<string,Object>

Opmerkingen

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.

Overnamehiërarchie

System.Object
   Microsoft.Xrm.Sdk.DataCollection
    Microsoft.Xrm.Sdk.AttributeCollection

Thread-veiligheid

Alle openbare statische (Shared in Visual Basic) leden van dit type zijn thread-veilig. Exemplaarleden zijn niet gegarandeerd thread-veilig.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Zie ook

Verwijzing

AttributeCollection-leden
Microsoft.Xrm.Sdk-naamruimte
AttributeMetadata
Entity

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