Formats a Boolean based on the supplied format strings.

Namespace: System.Extensions
Assembly: System.Extensions (in System.Extensions.dll) Version: 0.0.0.5 (0.0.0.5)

Syntax

C#
public string Format(
	string format,
	Object arg,
	IFormatProvider formatProvider
)
Visual Basic
Public Function Format ( 
	format As String,
	arg As Object,
	formatProvider As IFormatProvider
) As String
Visual C++
public:
virtual String^ Format(
	String^ format, 
	Object^ arg, 
	IFormatProvider^ formatProvider
) sealed
F#
abstract Format : 
        format : string * 
        arg : Object * 
        formatProvider : IFormatProvider -> string 
override Format : 
        format : string * 
        arg : Object * 
        formatProvider : IFormatProvider -> string 

Parameters

format
Type: System..::..String
The format in which to format.
arg
Type: System..::..Object
The value to format.
formatProvider
Type: System..::..IFormatProvider
The formatter to use.

Return Value

Type: String
A formatted string.

Implements

ICustomFormatter..::..Format(String, Object, IFormatProvider)

See Also