Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Convert::ToSByte Method

 

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

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticToSByte(Boolean)

Converts the specified Boolean value to the equivalent 8-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(Byte)

Converts the value of the specified 8-bit unsigned integer to the equivalent 8-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(Char)

Converts the value of the specified Unicode character to the equivalent 8-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(DateTime)

Calling this method always throws InvalidCastException.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(Decimal)

Converts the value of the specified decimal number to an equivalent 8-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(Double)

Converts the value of the specified double-precision floating-point number to an equivalent 8-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(Int16)

Converts the value of the specified 16-bit signed integer to the equivalent 8-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(Int32)

Converts the value of the specified 32-bit signed integer to an equivalent 8-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(Int64)

Converts the value of the specified 64-bit signed integer to an equivalent 8-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(Object^)

Converts the value of the specified object to an 8-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(Object^, IFormatProvider^)

Converts the value of the specified object to an 8-bit signed integer, using the specified culture-specific formatting information.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(SByte)

Returns the specified 8-bit signed integer; no actual conversion is performed.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(Single)

Converts the value of the specified single-precision floating-point number to an equivalent 8-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(String^)

Converts the specified string representation of a number to an equivalent 8-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(String^, IFormatProvider^)

Converts the specified string representation of a number to an equivalent 8-bit signed integer, using the specified culture-specific formatting information.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(String^, Int32)

Converts the string representation of a number in a specified base to an equivalent 8-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(UInt16)

Converts the value of the specified 16-bit unsigned integer to the equivalent 8-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(UInt32)

Converts the value of the specified 32-bit unsigned integer to an equivalent 8-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticToSByte(UInt64)

Converts the value of the specified 64-bit unsigned integer to an equivalent 8-bit signed integer.

Return to top
Show:
© 2017 Microsoft