Mono Class Library: System.Convert Overview | Members

System.Convert.ToUInt32 Method

Converts a sbyte to a uint . [Edit]

[System.CLSCompliant(false)]
public static uint ToUInt32 (sbyte value)

Parameters

value
The sbyte value to be converted. [Edit]

Returns

value as a 32-bit unsigned integer. [Edit]

Exceptions

TypeReason
OverflowExceptionvalue is less than uint.MinValue . [Edit]

Remarks

This member is not CLS-compliant. For a CLS-compliant alternative, use Convert.ToInt64(object)(short). [Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0