This documentation is archived and is not being maintained.

UInt16.TryParse Method

Converts the string representation of a number to its 16-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed.

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