Delen via


DateTimeAttributeMetadata Constructors

Definition

Overloads

DateTimeAttributeMetadata()

Initializes a new instance of the DateTimeAttributeMetadata class

DateTimeAttributeMetadata(Nullable<DateTimeFormat>)

Initializes a new instance of the DateTimeAttributeMetadata class

DateTimeAttributeMetadata(Nullable<DateTimeFormat>, String)

Initializes a new instance of the DateTimeAttributeMetadata class

DateTimeAttributeMetadata()

Initializes a new instance of the DateTimeAttributeMetadata class

public:
 DateTimeAttributeMetadata();
public DateTimeAttributeMetadata ();
Public Sub New ()

Applies to

DateTimeAttributeMetadata(Nullable<DateTimeFormat>)

Initializes a new instance of the DateTimeAttributeMetadata class

public:
 DateTimeAttributeMetadata(Nullable<Microsoft::Xrm::Sdk::Metadata::DateTimeFormat> format);
public DateTimeAttributeMetadata (Microsoft.Xrm.Sdk.Metadata.DateTimeFormat? format);
new Microsoft.Xrm.Sdk.Metadata.DateTimeAttributeMetadata : Nullable<Microsoft.Xrm.Sdk.Metadata.DateTimeFormat> -> Microsoft.Xrm.Sdk.Metadata.DateTimeAttributeMetadata
Public Sub New (format As Nullable(Of DateTimeFormat))

Parameters

format
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.

Applies to

DateTimeAttributeMetadata(Nullable<DateTimeFormat>, String)

Initializes a new instance of the DateTimeAttributeMetadata class

public:
 DateTimeAttributeMetadata(Nullable<Microsoft::Xrm::Sdk::Metadata::DateTimeFormat> format, System::String ^ schemaName);
public DateTimeAttributeMetadata (Microsoft.Xrm.Sdk.Metadata.DateTimeFormat? format, string schemaName);
new Microsoft.Xrm.Sdk.Metadata.DateTimeAttributeMetadata : Nullable<Microsoft.Xrm.Sdk.Metadata.DateTimeFormat> * string -> Microsoft.Xrm.Sdk.Metadata.DateTimeAttributeMetadata
Public Sub New (format As Nullable(Of DateTimeFormat), schemaName As String)

Parameters

format
Nullable<DateTimeFormat>

The date/time display format.

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

schemaName
String

The schema name of the attribute.

Remarks

Use the DateTimeFormat enumeration to set the format.

Applies to