ByteToString Method (String, IFormatProvider) |
Converts the value of the current
Byte object to its equivalent string representation using the specified format and culture-specific formatting information.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public string ToString(
string format,
IFormatProvider provider
)
Parameters
- format
- Type: SystemString
A standard or custom numeric format string. - provider
- Type: SystemIFormatProvider
An object that supplies culture-specific formatting information.
Return Value
Type:
StringThe string representation of the current
Byte object, formatted as specified by the
format and
provider parameters.
Exceptions Exception | Condition |
---|
FormatException | format includes an unsupported specifier. Supported format specifiers are listed in the Remarks section. |
See Also