Поделиться через


Convert.ToSByte Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Converts a specified value to an 8-bit signed integer.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSByte(Boolean) Converts the value of the specified Boolean value to the equivalent 8-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSByte(Byte) Converts the value of the specified 8-bit unsigned integer to the equivalent 8-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSByte(Char) Converts the value of the specified Unicode character to the equivalent 8-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSByte(Decimal) Converts the value of the specified Decimal number to an equivalent 8-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSByte(Double) Converts the value of the specified double-precision floating point number to an equivalent 8-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSByte(Int16) Converts the value of the specified 16-bit signed integer to the equivalent 8-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSByte(Int32) Converts the value of the specified 32-bit signed integer to an equivalent 8-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSByte(Int64) Converts the value of the specified 64-bit signed integer to an equivalent 8-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSByte(Object) Converts the value of the specified Object to an 8-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSByte(SByte) Returns the specified 8-bit signed integer; no actual conversion is performed.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSByte(Single) Converts the value of the specified single-precision floating point number to an equivalent 8-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSByte(String) Converts the specified String representation of a number to an equivalent 8-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSByte(UInt16) Converts the value of the specified 16-bit unsigned integer to the equivalent 8-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSByte(UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent 8-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSByte(UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent 8-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSByte(Object, IFormatProvider) Converts the value of the specified Object to an 8-bit signed integer using the specified culture-specific formatting information.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSByte(String, IFormatProvider) Converts the specified String representation of a number to an equivalent 8-bit signed integer using specified culture-specific formatting information.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSByte(String, Int32) Converts the string representation of a number in a specified base to an equivalent 8-bit signed integer.

Top

See Also

Reference