Clase de AttributeMetadata
Se aplica a: CRM 2015 on-prem, CRM Online
Contains all the metadata for an entity attribute.
Espacio de nombres: Microsoft.Xrm.Sdk.Metadata
Ensamblado: Microsoft.Xrm.Sdk (en Microsoft.Xrm.Sdk.dll)
Sintaxis
'Declaración
<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
Comentarios
This class is returned in the RetrieveAttributeResponse.
Jerarquía heredada
System.Object
Microsoft.Xrm.Sdk.Metadata.MetadataBase
Microsoft.Xrm.Sdk.Metadata.AttributeMetadata
Clases derivadas
Seguridad de hilo
Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para el hilo. No se garantiza que los miembros de instancia sean seguros para el hilo.
Plataformas
Plataformas de desarrollo
Windows Vista, Windows Server 2003 y
Plataformas de destino
Windows Vista,Windows XP
Vea también
Referencia
Miembros de AttributeMetadata
Espacio de nombres de Microsoft.Xrm.Sdk.Metadata
Otros recursos
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.