DateTimeAttributeMetadata Constructor (Nullable<DateTimeFormat>, String)


Updated: November 29, 2016

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

Initializes a new instance of the DateTimeAttributeMetadata class

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

public DateTimeAttributeMetadata(
	Nullable<DateTimeFormat> format,
	string schemaName


Type: System.Nullable<DateTimeFormat>

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

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

Type: System.String

Type: String. The schema name of the attribute.

Use the DateTimeFormat enumeration to set the format.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright