This documentation is archived and is not being maintained.

SByte.TryParse Method

Converts the string representation of a number to its 8-bit signed integer equivalent. A return code indicates whether the conversion succeeded or failed.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member TryParse(String, SByte) Tries to convert the string representation of a number to its SByte equivalent, and returns a value that indicates whether the conversion succeeded.
Public method Static member TryParse(String, NumberStyles, IFormatProvider, SByte) Tries to convert the string representation of a number in a specified style and culture-specific format to its SByte equivalent, and returns a value that indicates whether the conversion succeeded.
Top
Show: