DateTimeFormat Class
Specifies date-time format options.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | DateTimeStyles | Gets or sets the formatting options that customize string parsing for some date and time parsing methods. |
![]() | FormatProvider | Gets an object that controls formatting. |
![]() | FormatString | Gets the format strings to control the formatting produced when a date or time is represented as a string. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


