Dela via


DateTimeFormat Enumeration

 

Applies To: Dynamics CRM 2015

Describes the formatting of a DateTimeAttributeMetadata attribute.

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 enum class DateTimeFormat
[<DataContractAttribute(Name = "DateTimeFormat", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")>]
type 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

© 2016 Microsoft. All rights reserved. Copyright