Export (0) Print
Expand All

Convert.ToSByte Method

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.

  NameDescription
Public method Static member ToSByte(Boolean) Converts the specified Boolean value to the equivalent 8-bit signed integer.
Public method Static member ToSByte(Byte) Converts the value of the specified 8-bit unsigned integer to the equivalent 8-bit signed integer.
Public method Static member ToSByte(Char) Converts the value of the specified Unicode character to the equivalent 8-bit signed integer.
Public method Static member ToSByte(DateTime) Calling this method always throws InvalidCastException.
Public method Static member ToSByte(Decimal) Converts the value of the specified decimal number to an equivalent 8-bit signed integer.
Public method Static member ToSByte(Double) Converts the value of the specified double-precision floating-point number to an equivalent 8-bit signed integer.
Public method Static member ToSByte(Int16) Converts the value of the specified 16-bit signed integer to the equivalent 8-bit signed integer.
Public method Static member ToSByte(Int32) Converts the value of the specified 32-bit signed integer to an equivalent 8-bit signed integer.
Public method Static member ToSByte(Int64) Converts the value of the specified 64-bit signed integer to an equivalent 8-bit signed integer.
Public method Static member ToSByte(Object) Converts the value of the specified object to an 8-bit signed integer.
Public method Static member ToSByte(SByte) Returns the specified 8-bit signed integer; no actual conversion is performed.
Public method Static member ToSByte(Single) Converts the value of the specified single-precision floating-point number to an equivalent 8-bit signed integer.
Public method Static member ToSByte(String) Converts the specified string representation of a number to an equivalent 8-bit signed integer.
Public method Static member ToSByte(UInt16) Converts the value of the specified 16-bit unsigned integer to the equivalent 8-bit signed integer.
Public method Static member ToSByte(UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent 8-bit signed integer.
Public method Static member ToSByte(UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent 8-bit signed integer.
Public method Static member ToSByte(Object, IFormatProvider) Converts the value of the specified object to an 8-bit signed integer, using the specified culture-specific formatting information.
Public method Static member ToSByte(String, IFormatProvider) Converts the specified string representation of a number to an equivalent 8-bit signed integer, using the specified culture-specific formatting information.
Public method Static member ToSByte(String, Int32) Converts the string representation of a number in a specified base to an equivalent 8-bit signed integer.
Top

Community Additions

ADD
Show:
© 2014 Microsoft