Int16

Int16 class

Contains methods to work with the 16-bit integer.

class Int16

Methods

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

Fields

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

See Also