Udostępnij za pośrednictwem


DateTimeAttributeMetadata.Format Property

Definition

Gets or sets the date/time display format.

public:
 property Nullable<Microsoft::Xrm::Sdk::Metadata::DateTimeFormat> Format { Nullable<Microsoft::Xrm::Sdk::Metadata::DateTimeFormat> get(); void set(Nullable<Microsoft::Xrm::Sdk::Metadata::DateTimeFormat> value); };
[System.Runtime.Serialization.DataMember]
public Microsoft.Xrm.Sdk.Metadata.DateTimeFormat? Format { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.Format : Nullable<Microsoft.Xrm.Sdk.Metadata.DateTimeFormat> with get, set
Public Property Format As Nullable(Of DateTimeFormat)

Property Value

The date/time display format.

Attributes

Remarks

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

Applies to