Returns a string represenation of this instance.
| C# | Visual Basic | Visual C++ |
public string ToString( string format, IFormatProvider formatProvider )
Public Function ToString ( format As String, formatProvider As IFormatProvider ) As String
public: virtual String^ ToString( String^ format, IFormatProvider^ formatProvider ) sealed
- formatProvider (IFormatProvider)
- The IFormatProvider to use or null to obtain the format information from the current locale setting of the operating system.
String
A string representation of this instance.
A string representation of this instance.
The following string values are valid for format:
If you use capital letters for the string format, the precision of the returned
string representation is extended by three decimal digits.
| Format String | Description and Associated Properties |
|---|---|
| g | General format. Replaces the format string by ms, s,
m, or t as appropriate regarding the value of this instance. |
| ms | Millisecond format. |
| s | Second format. |
| h | Hour format. |
| d | Day format. |
| t | Full format, equal to the format returned by ToString()()()(). |
Assembly: Ranorex.Core (Module: Ranorex.Core.dll) Version: 4.0.4.23593 (4.0.4.23593)