Επεξεργασία

Κοινή χρήση μέσω


DateTimeFormat Constructors

Definition

Initializes a new instance of the DateTimeFormat class.

Overloads

DateTimeFormat(String)

Initializes a new instance of the DateTimeFormat class using the format string.

DateTimeFormat(String, IFormatProvider)

Initializes a new instance of the DateTimeFormat class using the format string and format provider.

DateTimeFormat(String)

Source:
DateTimeFormat.cs
Source:
DateTimeFormat.cs
Source:
DateTimeFormat.cs

Initializes a new instance of the DateTimeFormat class using the format string.

public:
 DateTimeFormat(System::String ^ formatString);
public DateTimeFormat (string formatString);
new System.Runtime.Serialization.DateTimeFormat : string -> System.Runtime.Serialization.DateTimeFormat
Public Sub New (formatString As String)

Parameters

formatString
String

The format string.

Applies to

DateTimeFormat(String, IFormatProvider)

Source:
DateTimeFormat.cs
Source:
DateTimeFormat.cs
Source:
DateTimeFormat.cs

Initializes a new instance of the DateTimeFormat class using the format string and format provider.

public:
 DateTimeFormat(System::String ^ formatString, IFormatProvider ^ formatProvider);
public DateTimeFormat (string formatString, IFormatProvider formatProvider);
new System.Runtime.Serialization.DateTimeFormat : string * IFormatProvider -> System.Runtime.Serialization.DateTimeFormat
Public Sub New (formatString As String, formatProvider As IFormatProvider)

Parameters

formatString
String

The format sting.

formatProvider
IFormatProvider

The format provider.

Applies to