Name

SByte

Synopsis

This structure represents an 8-bit signed integer (from -128 to 127). It is not CLS-compliant. Use Int16 instead.

Public Structure SByte : Implements IComparable, IFormattable, IConvertible
' Public Shared Fields
   Public const MaxValue As SByte                                // =127
   Public const MinValue As SByte                                // =-128
                  ' Public Shared Methods
   Public Shared Function Parse( ByVal s As String) As SByte  
   Public Shared Function Parse(ByVal s As String, 
        ByVal provider As IFormatProvider) As SByte  
   Public Shared Function Parse(ByVal s As String, 
        ByVal style As System.Globalization.NumberStyles) As SByte  
   Public Shared Function Parse(ByVal s As String, 
        ByVal style As System.Globalization.NumberStyles, 
        ByVal provider As IFormatProvider) As SByte  
' Public Instance Methods
   Public Function CompareTo(
        ByVal obj As Object) As Integer Implements IComparable.CompareTo 
   Overrides Public Function Equals(
        ByVal obj As Object) As Boolean  
   Overrides Public Function GetHashCode() As Integer  
   Public Function GetTypeCode(
        ) As TypeCode Implements IConvertible.GetTypeCode 
   Overrides Public Function ToString() As String  
   Public Function ToString(
        ByVal provider As IFormatProvider) As String Implements IConvertible.ToString 
   Public Function ToString(ByVal format As String) As String  
   Public Function ToString(ByVal format As String, 
        ByVal provider As IFormatProvider) As String Implements IFormattable.ToString 
End Structure

Hierarchy

ObjectValueType SByte(IComparable, IFormattable, IConvertible)

Returned By

Convert.ToSByte() ...

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.