This documentation is archived and is not being maintained.

UInt32.MinValue Field

Represents the smallest possible value of UInt32. This field is constant.

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

'Declaration
Public Const MinValue As UInteger
'Usage
Dim value As UInteger 

value = UInteger.MinValue

The value of this constant is 0.

The following example demonstrates how to use the MinValue field to display the smallest possible value of a UInt32 variable.

   Public Class Temperature 
		' The value holder 
		Protected m_value As UInteger

		Public Shared ReadOnly Property MinValue As UInteger
			Get  
				Return UInt32.MinValue
			End Get 
		End Property 

		Public Shared ReadOnly Property MaxValue As UInteger
			Get  
				Return UInt32.MaxValue
			End Get 
		End Property 

		Public Property Value As UInteger
			Get  
				Return Me.m_value
			End Get 
			Set  
				Me.m_value = value
			End Set 
		End Property 
   End Class

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 3.5, 2.0, 1.0

XNA Framework

Supported in: 3.0, 2.0, 1.0
Show: