System::Int16 class

Int16 class

Contains methods to work with the 16-bit integer.

class Int16

Methods

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

Fields

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

See Also