Mono Class Library: System.Convert Overview | MembersSystem.Convert.ToSByte Method |
Converts a string representation of a number to a sbyte . [Edit]
|
- value
- The string to be converted. The string is in the System.Globalization.NumberStyles.Integer style. [Edit]
value as a sbyte. [Edit]
Type Reason ArgumentNullException value is a null reference. [Edit] FormatException value cannot be converted to a numeric value in the specified format. [Edit] OverflowException The numeric value of value is greater than sbyte.MaxValue or less than sbyte.MinValue. [Edit]
This method parses value using the information in a System.Globalization.NumberFormatInfo instance initialized for the current system culture.
This member is not CLS-compliant. For a CLS-compliant alternative, use Convert.ToInt16(object)(string).
[Edit]
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0