System::DateTimeOffset::ToString method

DateTimeOffset::ToString() const method

Converts current object to string.

String System::DateTimeOffset::ToString() const

ReturnValue

String representation of the current DateTimeOffset object.

See Also

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
ParameterTypeDescription
providerconst SharedPtr<IFormatProvider>&Format provider.

ReturnValue

String representation of the current DateTimeOffset object.

See Also

DateTimeOffset::ToString(const String&) const method

Converts current object to string using the specified format.

String System::DateTimeOffset::ToString(const String &format) const
ParameterTypeDescription
formatconst String&Format string.

ReturnValue

String representation of the current DateTimeOffset object.

See Also

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
ParameterTypeDescription
formatconst String&Format string.
providerconst SharedPtr<IFormatProvider>&Format provider.

ReturnValue

String representation of the current DateTimeOffset object.

See Also