Windows Dev Center

SByte.IConvertible.ToByte Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

For a description of this member, see IConvertible.ToByte.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

byte IConvertible.ToByte(
	IFormatProvider provider


Type: System.IFormatProvider
This parameter is unused.

Return Value

Type: System.Byte
The value of the current instance, converted to a Byte.



This member is an explicit interface member implementation. It can be used only when the SByte instance is cast to an IConvertible interface. The recommended alternative is to call the Convert.ToByte(SByte) method.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2015 Microsoft