- value
- The string to be converted. The string is in the System.Globalization.NumberStyles.Integer style.
- provider
- A IFormatProvider that supplies a System.Globalization.NumberFormatInfo containing culture-specific formatting information.
value as a 64-bit signed integer.
Type Reason ArgumentNullException value is a null reference. FormatException value cannot be converted to a numeric value. OverflowException The numeric value of value is greater than long.MaxValue or less than long.MinValue.
This method parses value using the information in the System.Globalization.NumberFormatInfo instance supplied by provider. If provider is null or if a System.Globalization.NumberFormatInfo cannot be obtained from provider, the string is parsed using the formatting information of the current system culture.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0