DateTimeFormat Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.