Method IFormattable.ToString
IFormattable.ToString(string?, IFormatProvider?)
Formats the value of the current instance using the specified format.
Declaration
string IFormattable.ToString(string? format, IFormatProvider? formatProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| string | format | The format to use. -or- A null reference ( |
| IFormatProvider | formatProvider | The provider to use to format the value. -or- A null reference ( |
Returns
| Type | Description |
|---|---|
| string | The value of the current instance in the specified format. |