Delen via


DateTimeAttributeMetadata-klasse

Contains the metadata for an attribute of type DateTime.

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

Syntaxis

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

Opmerkingen

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

Overnamehiërarchie

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

Thread-veiligheid

Alle openbare statische (Shared in Visual Basic) leden van dit type zijn thread-veilig. Exemplaarleden zijn niet gegarandeerd thread-veilig.

Platforms

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

Zie ook

Verwijzing

DateTimeAttributeMetadata-leden
Microsoft.Xrm.Sdk.Metadata-naamruimte

Overige resources

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.