Name
Byte
Synopsis
This simple value type represents an unsigned 8-bit
integer that can vary in value from 0 to 255. The Parse()
method converts a number
in a string (such as 122
) into a Byte
object.
This type is available in
VB.NET through the Byte
alias.
Public Structure Byte : Implements IComparable, IFormattable, IConvertible ' Public Shared Fields Public const MaxValue As Byte // =255 Public const MinValue As Byte // =0 ' Public Shared Methods Public Shared Function Parse( ByVal s As String) As Byte Public Shared Function Parse(ByVal s As String, ByVal provider As IFormatProvider) As Byte Public Shared Function Parse(ByVal s As String, ByVal style As System.Globalization.NumberStyles) As Byte Public Shared Function Parse(ByVal s As String, ByVal style As System.Globalization.NumberStyles, ByVal provider As IFormatProvider) As Byte ' Public Instance Methods Public Function CompareTo( ByVal value 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 ...
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.