Classe AttributeMetadata

S'applique à: CRM 2015 on-prem, CRM Online

Contains all the metadata for an entity attribute.

Espace de noms: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)

Syntaxe

'Déclaration
<KnownTypeAttribute(GetType(DateTimeAttributeMetadata))> _
<KnownTypeAttribute(GetType(StateAttributeMetadata))> _
<KnownTypeAttribute(GetType(StatusAttributeMetadata))> _
<KnownTypeAttribute(GetType(MemoAttributeMetadata))> _
<KnownTypeAttribute(GetType(BooleanAttributeMetadata))> _
<KnownTypeAttribute(GetType(DecimalAttributeMetadata))> _
<KnownTypeAttribute(GetType(DoubleAttributeMetadata))> _
<KnownTypeAttribute(GetType(EntityNameAttributeMetadata))> _
<KnownTypeAttribute(GetType(ManagedPropertyAttributeMetadata))> _
<KnownTypeAttribute(GetType(IntegerAttributeMetadata))> _
<KnownTypeAttribute(GetType(BigIntAttributeMetadata))> _
<KnownTypeAttribute(GetType(LookupAttributeMetadata))> _
<KnownTypeAttribute(GetType(ImageAttributeMetadata))> _
<KnownTypeAttribute(GetType(MoneyAttributeMetadata))> _
<KnownTypeAttribute(GetType(PicklistAttributeMetadata))> _
<DataContractAttribute(Name:="AttributeMetadata", Namespace:="https://schemas.microsoft.com/xrm/2011/Metadata")> _
<KnownTypeAttribute(GetType(StringAttributeMetadata))> _
Public Class AttributeMetadata
    Inherits MetadataBase
[KnownTypeAttribute(typeof(DateTimeAttributeMetadata))] 
[KnownTypeAttribute(typeof(StateAttributeMetadata))] 
[KnownTypeAttribute(typeof(StatusAttributeMetadata))] 
[KnownTypeAttribute(typeof(MemoAttributeMetadata))] 
[KnownTypeAttribute(typeof(BooleanAttributeMetadata))] 
[KnownTypeAttribute(typeof(DecimalAttributeMetadata))] 
[KnownTypeAttribute(typeof(DoubleAttributeMetadata))] 
[KnownTypeAttribute(typeof(EntityNameAttributeMetadata))] 
[KnownTypeAttribute(typeof(ManagedPropertyAttributeMetadata))] 
[KnownTypeAttribute(typeof(IntegerAttributeMetadata))] 
[KnownTypeAttribute(typeof(BigIntAttributeMetadata))] 
[KnownTypeAttribute(typeof(LookupAttributeMetadata))] 
[KnownTypeAttribute(typeof(ImageAttributeMetadata))] 
[KnownTypeAttribute(typeof(MoneyAttributeMetadata))] 
[KnownTypeAttribute(typeof(PicklistAttributeMetadata))] 
[DataContractAttribute(Name="AttributeMetadata", Namespace="https://schemas.microsoft.com/xrm/2011/Metadata")] 
[KnownTypeAttribute(typeof(StringAttributeMetadata))] 
public class AttributeMetadata : MetadataBase

Remarques

This class is returned in the RetrieveAttributeResponse.

Hiérarchie d'héritage

System.Object
   Microsoft.Xrm.Sdk.Metadata.MetadataBase
    Microsoft.Xrm.Sdk.Metadata.AttributeMetadata
       Classes dérivées

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 AttributeMetadata
Espace de noms Microsoft.Xrm.Sdk.Metadata

Autres ressources

Customize Entity Attribute Metadata
Sample: Dump Attribute Metadata to a File
Sample: Work with Attributes
Sample: Retrieve Entity Metadata Using JavaScript

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