Freigeben über


DateTimeAttributeMetadata Klasse

Contains the metadata for an attribute of type DateTime.

Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

'Declaration
<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

Anmerkungen

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

Vererbungshierarchie

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

Thread-Sicherheit

Alle öffentlichen statischen Mitglieder (Shared in Visual Basic) dieses Typs sind thread-sicher. Bei Instanzmitgliedern kann keine Garantie für die Thread-Sicherheit übernommen werden.

Plattformen

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Siehe auch

Referenz

DateTimeAttributeMetadata Mitglieder
Microsoft.Xrm.Sdk.Metadata Namespace

Weitere Ressourcen

Behavior and format of the date and time attribute
Customize Entity Attribute Metadata
Work with Attributes

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