public string ToString(
string? format,
IFormatProvider? formatProvider
)Public Function ToString (
format As String,
formatProvider As IFormatProvider
) As Stringpublic:
virtual String^ ToString(
String^ format,
IFormatProvider^ formatProvider
) sealedabstract ToString :
format : string *
formatProvider : IFormatProvider -> string
override ToString :
format : string *
formatProvider : IFormatProvider -> string This method behaves identical to the UBinarySizeToString(String, IFormatProvider) method. Format strings with upper-case unit letters will still use powers of two for SI units; you must use lower-case unit letters to format with powers of ten.
| FormatException | format is invalid. |