Share via


UInt32 Structure

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents a 32-bit unsigned integer.

This API is not CLS-compliant. The CLS-compliant alternative is Int64.

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

Syntax

'Declaration
<SerializableAttribute> _
<CLSCompliantAttribute(False)> _
Public Structure UInt32
[SerializableAttribute]
[CLSCompliantAttribute(false)]
public struct UInt32
[SerializableAttribute]
[CLSCompliantAttribute(false)]
public value class UInt32
[<Sealed>]
[<SerializableAttribute>]
[<CLSCompliantAttribute(false)>]
type UInt32 =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The UInt32 type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic member Parse Converts the string representation of a number to its 32-bit unsigned integer equivalent.
Public method ToString() () () () Converts the numeric value of this instance to its equivalent string representation. (Overrides Object. . :: . .ToString() () () ().)
Public method ToString(String) Converts the numeric value of this instance to its equivalent string representation using the specified format.

Top

Fields

  Name Description
Public fieldStatic member MaxValue Represents the largest possible value of UInt32. This field is constant.
Public fieldStatic member MinValue Represents the smallest possible value of UInt32. This field is constant.

Top

Remarks

The UInt32 value type represents unsigned integers with values ranging from 0 to 4,294,967,295.

UInt32 provides methods to compare instances of this type, convert the value of an instance to its String representation, and convert the String representation of a number to an instance of this type.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System Namespace