Click or drag to resize

FormatterOnFormat Method

Converts the value of a specified object to an equivalent string representation using specified format and culture-specific formatting information.

Namespace:  Cauldron.Formatters
Assembly:  Cauldron (in Cauldron.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
protected override string OnFormat(
	string format,
	Object arg,
	IFormatProvider formatProvider
)

Parameters

format
Type: SystemString
A format string containing formatting specifications.
arg
Type: SystemObject
An object to format.
formatProvider
Type: SystemIFormatProvider
An object that supplies format information about the current instance.

Return Value

Type: String
The string representation of the value of arg, formatted as specified by format and formatProvider.
See Also