Share via


UInt32.Parse Method

Converts the string representation of a number to its 32-bit unsigned integer equivalent.

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

Syntax

[CLSCompliantAttribute(false)]
public static UInt32 Parse (
         strings
)

Parameters

  • s
    A string representing the number to convert.

Return Value

A 32-bit unsigned integer equivalent to the number contained in s.

Remarks

The s parameter contains a number of the form:

[ws][sign]digits[ws]

Items in square brackets ('[' and ']') are optional, and other items are as follows.

ws

Optional white space.

sign

An optional positive sign.

digits

A sequence of digits ranging from 0 to 9.

The s parameter is parsed using the formatting information in a NumberFormatInfo initialized for the current system culture. For more information, see NumberFormatInfo.CurrentInfo.

Version Information

Available in .NET Micro Framework version 3.0 and above.

See Also

Reference

UInt32 Structure
UInt32 Members
System Namespace