Int32

Int32 class

Contains methods to work with the 32-bit integer.

class Int32

Methods

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

Fields

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

See Also