Format Method
Definition
- Assemblies
- Codebelt.Unitify.dll
Format(string, object, IFormatProvider)
Converts the value of a specified arg to an equivalent string representation using specified format and culture-specific format formatProvider.
public string Format(string format, object arg, IFormatProvider formatProvider)
Parameters
formatstringA format string containing formatting specifications.
argobjectAn object that implements the IPrefixUnit interface.
formatProviderIFormatProviderAn object that supplies format information about
arg.
Returns
- string
The string representation of the value of
arg, formatted as specified byformatandformatProvider.