Share via


Classe DateTimeAttributeMetadata

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

Contains the metadata for an attribute of type DateTime.

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

Syntaxe

'Déclaration
<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

Remarques

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

Hiérarchie d'héritage

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

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

Autres ressources

Customize Entity Attribute Metadata
Work with Attributes

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