ToString()

DateTimeOffset::ToString(const String&, const SharedPtr<IFormatProvider>&) const method

Converts current object to string using the specified format and format provider.

String System::DateTimeOffset::ToString(const String &format, const SharedPtr<IFormatProvider> &provider) const

Arguments

ParameterTypeDescription
formatconst String&Format string.
providerconst SharedPtr<IFormatProvider>&Format provider.

Return Value

String representation of the current DateTimeOffset object.

DateTimeOffset::ToString(const SharedPtr<IFormatProvider>&) const method

Converts current object to string using the specified format provider.

String System::DateTimeOffset::ToString(const SharedPtr<IFormatProvider> &provider) const

Arguments

ParameterTypeDescription
providerconst SharedPtr<IFormatProvider>&Format provider.

Return Value

String representation of the current DateTimeOffset object.

DateTimeOffset::ToString(const String&) const method

Converts current object to string using the specified format.

String System::DateTimeOffset::ToString(const String &format) const

Arguments

ParameterTypeDescription
formatconst String&Format string.

Return Value

String representation of the current DateTimeOffset object.

DateTimeOffset::ToString() const method

Converts current object to string.

String System::DateTimeOffset::ToString() const

Return Value

String representation of the current DateTimeOffset object.

See Also