Del via


DateTimeAttributeMetadata-klasse

Contains the metadata for an attribute of type DateTime.

Navneområde: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (i Microsoft.Xrm.Sdk.dll)

Syntaks

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

Bemærkninger

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

Nedarvningshierarki

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

Sikkerhed i tråd

Alle offentlige statiske (Shared i Visual Basic) medlemmer af denne type er trådsikret. Alle medlemmer af forekomsten er ikke garanteret trådsikkerhed.

Platforme

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

Se også

Reference

DateTimeAttributeMetadata-medlemmer
Microsoft.Xrm.Sdk.Metadata-navneområde

Andre ressourcer

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.