ToString()

TimeSpan::ToString() const method

Returns the string representation of the time interval represented by the current object.

String System::TimeSpan::ToString() const

TimeSpan::ToString(const String&) const method

Converts the value of the current object to equivalent string representation, using the specified format.

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

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

Converts the value of the current object to equivalent string representation, using the specified format and format provider.

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

TimeSpan::ToString(const String&, const SharedPtr<Globalization::CultureInfo>&) const method

String System::TimeSpan::ToString(const String &format, const SharedPtr<Globalization::CultureInfo> &culture) const

TimeSpan::ToString(const String&, const SharedPtr<Globalization::DateTimeFormatInfo>&) const method

String System::TimeSpan::ToString(const String &format, const SharedPtr<Globalization::DateTimeFormatInfo> &dtfi) const

TimeSpan::ToString(const String&, std::nullptr_t) const method

String System::TimeSpan::ToString(const String &format, std::nullptr_t) const

See Also