Method ConvertToString
ConvertToString(string, IFormatProvider)
Creates a string representation of this object based on the format string and IFormatProvider passed in. If the provider is null, the CurrentCulture is used. See the documentation for IFormattable for more information.
public readonly string ConvertToString(string format, IFormatProvider provider)
Parameters
format
stringprovider
IFormatProvider
Returns
- string
A string representation of this object.