TimeSpan.ToString Method

 

Converts the value of the current TimeSpan object to its equivalent string representation.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodToString()

Converts the value of the current TimeSpan object to its equivalent string representation.(Overrides ValueType.ToString().)

System_CAPS_pubmethodToString(String)

Converts the value of the current TimeSpan object to its equivalent string representation by using the specified format.

System_CAPS_pubmethodToString(String, IFormatProvider)

Converts the value of the current TimeSpan object to its equivalent string representation by using the specified format and culture-specific formatting information.

Return to top
Show: