Classe AttributeCollection
S'applique à: CRM 2015 on-prem, CRM Online
Provides a collection of attributes for an entity.
Espace de noms: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)
Syntaxe
'Déclaration
<CollectionDataContractAttribute(Name:="AttributeCollection", Namespace:="https://schemas.microsoft.com/xrm/2011/Contracts")> _
<KnownTypeAttribute("GetKnownParameterTypes")> _
Public NotInheritable Class AttributeCollection
Inherits DataCollection(Of String, Object)
[CollectionDataContractAttribute(Name="AttributeCollection", Namespace="https://schemas.microsoft.com/xrm/2011/Contracts")]
[KnownTypeAttribute("GetKnownParameterTypes")]
public sealed class AttributeCollection : DataCollection<string,Object>
Remarques
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.
Hiérarchie d'héritage
System.Object
Microsoft.Xrm.Sdk.DataCollection
Microsoft.Xrm.Sdk.AttributeCollection
Cohérence de thread
Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.
Plateformes
Plateformes de développement
Windows Vista, Windows Server 2003 et
Plateformes cibles
Windows Vista,Windows XP
Voir aussi
Référence
Membres AttributeCollection
Espace de noms Microsoft.Xrm.Sdk
AttributeMetadata
Entity
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.