RanorexRanorex Documentation
ToString Method (format, formatProvider)
NamespacesRanorexDurationToString(String, IFormatProvider)
Returns a string represenation of this instance.
Declaration Syntax
C#Visual BasicVisual 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
Parameters
format (String)
The String specifying the format to use or null to use the default format.
formatProvider (IFormatProvider)
The IFormatProvider to use or null to obtain the format information from the current locale setting of the operating system.
Return Value
String
A string representation of this instance.
Remarks
The following string values are valid for format:
Format StringDescription 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()()()().
If you use capital letters for the string format, the precision of the returned string representation is extended by three decimal digits.

Assembly: Ranorex.Core (Module: Ranorex.Core.dll) Version: 4.0.4.23593 (4.0.4.23593)