Επεξεργασία

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


DateTimeFormat Class

Definition

Specifies date-time format options.

public ref class DateTimeFormat
public class DateTimeFormat
type DateTimeFormat = class
Public Class DateTimeFormat
Inheritance
DateTimeFormat

Constructors

DateTimeFormat(String, IFormatProvider)

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

DateTimeFormat(String)

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

Properties

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.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to