Name

UInt16

Synopsis

This structure is the value type for 16-bit unsigned integers (which range from 0 to 65535). It is not CLS-compliant (although Int16 is).

Public Structure UInt16 : Implements IComparable, IFormattable, IConvertible
' Public Shared Fields
   Public const MaxValue As UInt16                               // =65535
   Public const MinValue As UInt16                               // =0
                  ' Public Shared Methods
   Public Shared Function Parse( ByVal s As String) As UInt16  
   Public Shared Function Parse(ByVal s As String, 
        ByVal provider As IFormatProvider) As UInt16  
   Public Shared Function Parse(ByVal s As String, 
        ByVal style As System.Globalization.NumberStyles) As UInt16  
   Public Shared Function Parse(ByVal s As String, 
        ByVal style As System.Globalization.NumberStyles, 
        ByVal provider As IFormatProvider) As UInt16  
' 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 Structure

Hierarchy

ObjectValueType UInt16(IComparable, IFormattable, IConvertible) ...

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.