Click or drag to resize
Ranorex

ReportLevelToString Method (String, IFormatProvider)

Returns a string represenation of this instance.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public string ToString(
	string format,
	IFormatProvider formatProvider
)

Parameters

format
Type: SystemString
The String specifying the format to use or null to use the default format.
formatProvider
Type: SystemIFormatProvider
The IFormatProvider to use or null to obtain the format information from the current locale setting of the operating system.

Return Value

Type: String
A string representation of this instance.

Implements

IFormattableToString(String, IFormatProvider)
Remarks
The following string values are valid for format:
Format StringDescription and Associated Properties
gGeneral format. Returns the Name of the report level.
hHuman readable format. "g" format is used if this instance is one of the StandardValues; otherwise "r" format is used.
rRound-trip (serialization) format. Returns a string representation containing all the information to create the instance again using the Parse(String) method.
dDecimal format. Returns the Level in decimal form. See ToString(String, IFormatProvider) for more info.
xHexadecimal format. Returns the Level in hexadecimal form. See ToString(String, IFormatProvider) for more info.
See Also