Express a Complex as a string literal.

Syntax

C#
public string ToString(
	string format,
	IFormatProvider provider
)
Visual Basic
Public Function ToString ( _
	format As String, _
	provider As IFormatProvider _
) As String
Visual C++
public:
virtual String^ ToString(
	String^ format, 
	IFormatProvider^ provider
) sealed
F#
abstract ToString : 
        format : string * 
        provider : IFormatProvider -> string 
override ToString : 
        format : string * 
        provider : IFormatProvider -> string 

Parameters

format
Type: System..::..String
format string (passed to double)
provider
Type: System..::..IFormatProvider
provider (passed to double)

Return Value

Complex as a string literal.

Implements

IFormattable..::..ToString(String, IFormatProvider)

See Also