Converts a string to a uint equivalent.
- s
- The string to convert.
The uint equivalent of s.
Type Reason ArgumentNullException s is a null reference. FormatException s is not in the correct format. OverflowException s represents a number less than uint.MinValue or greater than uint.MaxValue.
This member is not CLS-compliant. For a CLS-compliant alternative, use XmlConvert.ToInt64(string)(string).
This method calls uint.Parse(string)(s, System.Globalization.NumberStyles.AllowLeadingSign|System.Globalization.NumberStyles.AllowLeadingWhite|System.Globalization.NumberStyles.AllowTrailingWhite, System.Globalization.NumberFormatInfo.InvariantInfo).
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0