Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
struct System.​ICustomFormatter
Assembly: System.Runtime
Defines a method that supports custom formatting of the value of an object.
Methods
public
string
Format​(string format,
object arg,
IFormatProvider formatProvider)
format
A format string containing formatting specifications.
arg
An object to format.
formatProvider
An object that supplies format information about the current instance.
Returns The string representation of the value of <paramref name="arg" /> , formatted as specified by <paramref name="format" /> and <paramref name="formatProvider" /> .
Converts the value of a specified object to an equivalent string representation using specified format and culture-specific formatting information.