Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ToUInt64 Method (Int32)

Convert.ToUInt64 Method (Int32)

Converts the value of the specified 32-bit signed integer to an equivalent 64-bit unsigned integer.

This API is not CLS-compliant. 

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

[CLSCompliantAttribute(false)]
public static ulong ToUInt64(
	int value
)

Parameters

value
Type: System.Int32
A 32-bit signed integer.

Return Value

Type: System.UInt64
The 64-bit unsigned integer equivalent of value.

ExceptionCondition
OverflowException

value is less than zero.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft