Click or drag to resize
ConvertToUInt32 Method (UInt64)
Converts the value of the specified 64-bit unsigned integer to an equivalent 32-bit unsigned integer.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static uint ToUInt32(
	ulong value
)

Parameters

value
Type: SystemUInt64
The 64-bit unsigned integer to convert.

Return Value

Type: UInt32
A 32-bit unsigned integer that is equivalent to value.
Exceptions
ExceptionCondition
OverflowExceptionvalue is greater than MaxValue.
See Also