Partekatu honen bidez:


Clase de DateTimeAttributeMetadata

Se aplica a: CRM 2015 on-prem, CRM Online

Contains the metadata for an attribute of type DateTime.

Espacio de nombres: Microsoft.Xrm.Sdk.Metadata
Ensamblado: Microsoft.Xrm.Sdk (en Microsoft.Xrm.Sdk.dll)

Sintaxis

'Declaración
<DataContractAttribute(Name:="DateTimeAttributeMetadata", Namespace:="https://schemas.microsoft.com/xrm/2011/Metadata")> _
Public NotInheritable Class DateTimeAttributeMetadata
    Inherits AttributeMetadata
[DataContractAttribute(Name="DateTimeAttributeMetadata", Namespace="https://schemas.microsoft.com/xrm/2011/Metadata")] 
public sealed class DateTimeAttributeMetadata : AttributeMetadata

Comentarios

A date and time attribute. You can format the attribute to show only the date or the date and the time.

Jerarquía heredada

System.Object
   Microsoft.Xrm.Sdk.Metadata.MetadataBase
     Microsoft.Xrm.Sdk.Metadata.AttributeMetadata
      Microsoft.Xrm.Sdk.Metadata.DateTimeAttributeMetadata

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 DateTimeAttributeMetadata
Espacio de nombres de Microsoft.Xrm.Sdk.Metadata

Otros recursos

Customize Entity Attribute Metadata
Work with Attributes

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