DateTimeAttributeMetadata Constructor (Nullable<DateTimeFormat>)
Applies To: Dynamics CRM 2015
Initializes a new instance of the DateTimeAttributeMetadata class
Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
public DateTimeAttributeMetadata(
Nullable<DateTimeFormat> format
)
public:
DateTimeAttributeMetadata(
Nullable<DateTimeFormat> format
)
new :
format:Nullable<DateTimeFormat> -> DateTimeAttributeMetadata
Public Sub New (
format As Nullable(Of DateTimeFormat)
)
Parameters
format
Type: System.Nullable<DateTimeFormat>Type: Nullable<DateTimeFormat>. The date/time display format.
If this property is not assigned a value, it defaults to DateOnly.
Remarks
Use the DateTimeFormat enumeration to set the format.
See Also
DateTimeAttributeMetadata Overload
DateTimeAttributeMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright