UInt16

UInt16 struct

Contains methods to work with the unsigned 16-bit integer.

class UInt16

Methods

MethodDescription
static uint16_t Parse(const String&)Converts the specified string containing the string representation of a number to the equivalent 16-bit unsigned integer.
static uint16_t Parse(const String&, const SharedPtr<IFormatProvider>&)Converts the specified string containing the string representation of a number to the equivalent 16-bit unsigned integer using the provided formatting information.
static uint16_t Parse(const String&, const SharedPtr<Globalization::CultureInfo>&)
static uint16_t Parse(const String&, const SharedPtr<Globalization::NumberFormatInfo>&)
static uint16_t Parse(const String&, std::nullptr_t)
static uint16_t Parse(const String&, Globalization::NumberStyles, const SharedPtr<IFormatProvider>&)Converts the specified string containing the string representation of a number to the equivalent 16-bit unsigned integer using the provided formatting information and number style.
static uint16_t Parse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::CultureInfo>&)
static uint16_t Parse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::NumberFormatInfo>&)
static uint16_t Parse(const String&, Globalization::NumberStyles, std::nullptr_t)
static bool TryParse(const String&, uint16_t&)Converts the specified string containing the string representation of a number to the equivalent 16-bit unsigned integer.
static bool TryParse(const String&, Globalization::NumberStyles, const SharedPtr<IFormatProvider>&, uint16_t&)Converts the specified string containing the string representation of a number to the equivalent 16-bit unsigned integer using the provided formatting information and number style.
static bool TryParse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::CultureInfo>&, uint16_t&)
static bool TryParse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::NumberFormatInfo>&, uint16_t&)
static bool TryParse(const String&, Globalization::NumberStyles, std::nullptr_t, uint16_t&)

Fields

FieldDescription
static constexpr MaxValueLargest possible value.
static constexpr MinValueSmallest possible value.

See Also