DateTimeAttributeMetadata.Format Property

 

Applies To: Dynamics CRM 2015

Gets or sets the date/time display format.

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

Syntax

[DataMemberAttribute]
public Nullable<DateTimeFormat> Format { get; set; }
public:
[DataMemberAttribute]
property Nullable<DateTimeFormat> Format {
    Nullable<DateTimeFormat> get();
    void set(Nullable<DateTimeFormat> value);
}
[<DataMemberAttribute>]
member Format : Nullable<DateTimeFormat> with get, set
<DataMemberAttribute>
Public Property Format As Nullable(Of DateTimeFormat)

Property Value

Type: System.Nullable<DateTimeFormat>

Type: Nullable<DateTimeFormat>
The date/time display format.

Remarks

If this property is not assigned a value, it defaults to DateOnly.

See Also

DateTimeAttributeMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright