This documentation is archived and is not being maintained.

Byte.TryParse Method

Converts the string representation of a number to its Byte equivalent. A return value indicates whether the conversion succeeded or failed.

Name Description
Byte.TryParse (String, Byte) Converts the string representation of a number to its Byte equivalent. A return value indicates whether the conversion succeeded or failed.
Byte.TryParse (String, NumberStyles, IFormatProvider, Byte) Converts the string representation of a number in a specified style and culture-specific format to its Byte equivalent. A return value indicates whether the conversion succeeded or failed.
Show: