SByte Structure

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents an 8-bit signed integer.

This API is not CLS-compliant. The CLS-compliant alternative is Int16.

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

[<Sealed>]
[<SerializableAttribute>]
[<CLSCompliantAttribute(false)>]
type SByte =  struct end

The SByte type exposes the following members.

  NameDescription
Public methodEqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberParseConverts the string representation of a number to its 8-bit signed integer equivalent.
Public methodToString()()()()Converts the numeric value of this instance to its equivalent string representation. (Overrides Object..::..ToString()()()().)
Public methodToString(String)Converts the numeric value of this instance to its equivalent string representation, using the specified format.
Top

  NameDescription
Public fieldStatic memberMaxValueRepresents the largest possible value of SByte. This field is constant.
Public fieldStatic memberMinValueRepresents the smallest possible value of SByte. This field is constant.
Top

The SByte value type represents integers with values ranging from negative 128 to positive 127.

SByte provides methods to compare instances of this type, convert the value of an instance to its string representation, and convert the string representation of a number to an instance of this type.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: