Converts a string to a int equivalent.
- s
- The string to convert.
The int 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 int.MinValue or greater than int.MaxValue.
This method calls int.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