Поделиться через


DateTimeFormat Enumeration

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Describes the formatting of a DateTimeAttributeMetadata attribute.

For the Web API use the DateTimeFormat EnumType.

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

Syntax

[DataContractAttribute(Name = "DateTimeFormat", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")]
public enum DateTimeFormat
<DataContractAttribute(Name := "DateTimeFormat", Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata")>
Public Enumeration DateTimeFormat

Members

Member name Description
DateAndTime

Display the date and time. Value = 1.

DateOnly

Display the date only. Value = 0.

See Also

Microsoft.Xrm.Sdk.Metadata Namespace
Customize entity attribute metadata

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright