Name

UIntPtr

Synopsis

This structure is provided mainly for symmetry with IntPtr. Use IntPtr, which is CLS-compliant, instead.

Public Structure UIntPtr : Implements System.Runtime.Serialization.ISerializable
' Public Constructors
   Public Sub New( ByVal value As UInt32) 
   Public Sub New( ByVal value As UInt64) 
' Public Shared Fields
   Public Shared ReadOnly Zero As UIntPtr                        // =0
                  ' Public Shared Properties
   Public Shared ReadOnly Property Size As Integer  
' Public Shared Methods
   Public Shared Boolean operator Sub !=(
        ByVal value1 As UIntPtr, ByVal value2 As UIntPtr) 
   Public Shared Boolean operator Sub ==(
        ByVal value1 As UIntPtr, ByVal value2 As UIntPtr) 
   Public Shared explicit operator Sub UInt32(
        ByVal value As UIntPtr) 
   Public Shared explicit operator Sub UInt64(
        ByVal value As UIntPtr) 
   Public Shared explicit operator Sub UIntPtr(
        ByVal value As UInt32) 
   Public Shared explicit operator Sub UIntPtr(
        ByVal value As UInt64) 
' Public Instance Methods
   Overrides Public Function Equals(
        ByVal obj As Object) As Boolean  
   Overrides Public Function GetHashCode() As Integer  
   Overrides Public Function ToString() As String  
   Public Function ToUInt32() As UInt32  
   Public Function ToUInt64() As UInt64  
End Structure

Hierarchy

ObjectValueType UIntPtr(System.Runtime.Serialization.ISerializable)

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.