[This is preliminary documentation and is subject to change.]
Returns the string representation of the value of this instance.
Namespace:
Tools
Assembly:
Tools (in Tools.dll) Version: 1.5.2.0
Syntax
| C# |
|---|
public override string ToString() |
| Visual Basic (Declaration) |
|---|
Public Overrides Function ToString As String |
| Visual C++ |
|---|
public:
virtual String^ ToString() override |
| JScript |
|---|
public override function ToString() : String |
Return Value
A string that represents the value of this instance. The return value is of the form: [-][d.]hh:mm:ss[.ff] Items in square brackets ([ and ]) are optional, colons and periods (: and.) are literal characters; and the other items are as follows.Item Description "-" optional minus sign indicating a negative time "d" optional days "hh" hours, ranging from 0 to 23 "mm" minutes, ranging from 0 to 59 "ss" seconds, ranging from 0 to 59 "ff" optional fractional seconds, from 1 to 7 decimal digits For more information about comparing the string representation of
TimeSpan and Oracle data types, see article Q324577, "
TimeSpan Does Not Match Oracle 9i INTERVAL DAY TO SECOND Data Type," in the Microsoft Knowledge Base at http://support.microsoft.com
See Also