DateTimeFormat DateTimeFormat DateTimeFormat DateTimeFormat Class

Definition

Specifies date-time format options.

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

Constructors

DateTimeFormat(String) DateTimeFormat(String) DateTimeFormat(String) DateTimeFormat(String)

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

DateTimeFormat(String, IFormatProvider) DateTimeFormat(String, IFormatProvider) DateTimeFormat(String, IFormatProvider) DateTimeFormat(String, IFormatProvider)

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

Properties

DateTimeStyles DateTimeStyles DateTimeStyles DateTimeStyles

Gets or sets the formatting options that customize string parsing for some date and time parsing methods.

FormatProvider FormatProvider FormatProvider FormatProvider

Gets an object that controls formatting.

FormatString FormatString FormatString FormatString

Gets the format strings to control the formatting produced when a date or time is represented as a string.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to