System::Int32::Parse-methode

Int32::Parse(const ReadOnlySpan<char16_t>&) method

static int32_t System::Int32::Parse(const ReadOnlySpan<char16_t> &span)

Zie ook

Int32::Parse(const ReadOnlySpan<char16_t>&, Globalization::NumberStyles, const SharedPtr<IFormatProvider>&) method

static int32_t System::Int32::Parse(const ReadOnlySpan<char16_t> &span, Globalization::NumberStyles styles, const SharedPtr<IFormatProvider> &provider)

Zie ook

Int32::Parse(const ReadOnlySpan<char16_t>&, std::nullptr_t) method

static int32_t System::Int32::Parse(const ReadOnlySpan<char16_t> &span, std::nullptr_t)

Zie ook

Int32::Parse(const String&) method

Converteert de opgegeven string die de tekenreeksrepresentatie van een getal bevat naar de equivalente 32-bit signed integer.

static int32_t System::Int32::Parse(const String &value)
ParameterTypeBeschrijving
valueconst String&De te converteren string.

ReturnValue

De 32-bits ondertekende integer die gelijk is aan het getal dat wordt weergegeven door de opgegeven tekenreeks.

Zie ook

Int32::Parse(const String&, const SharedPtr<Globalization::CultureInfo>&) method

static int32_t System::Int32::Parse(const String &value, const SharedPtr<Globalization::CultureInfo> &culture)

Zie ook

Int32::Parse(const String&, const SharedPtr<Globalization::NumberFormatInfo>&) method

static int32_t System::Int32::Parse(const String &value, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Zie ook

Int32::Parse(const String&, const SharedPtr<IFormatProvider>&) method

Converteert de opgegeven string die de tekenreeksrepresentatie van een getal bevat naar de equivalente 32-bit signed integer met behulp van de opgegeven opmaakinformatie.

static int32_t System::Int32::Parse(const String &value, const SharedPtr<IFormatProvider> &provider)
ParameterTypeBeschrijving
valueconst String&De te converteren string.
providerconst SharedPtr<IFormatProvider>&Een pointer naar een object dat de tekenreeksopmaakinformatie bevat.

ReturnValue

De 32-bits ondertekende integer die gelijk is aan het getal dat wordt weergegeven door de opgegeven tekenreeks.

Zie ook

Int32::Parse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::CultureInfo>&) method

static int32_t System::Int32::Parse(const String &value, Globalization::NumberStyles styles, const SharedPtr<Globalization::CultureInfo> &culture)

Zie ook

Int32::Parse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::NumberFormatInfo>&) method

static int32_t System::Int32::Parse(const String &value, Globalization::NumberStyles styles, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Zie ook

Int32::Parse(const String&, Globalization::NumberStyles, const SharedPtr<IFormatProvider>&) method

Converteert de opgegeven string die de tekenreeksrepresentatie van een getal bevat naar de equivalente 32-bit signed integer met behulp van de opgegeven opmaakinformatie en getalstijl.

static int32_t System::Int32::Parse(const String &value, Globalization::NumberStyles styles, const SharedPtr<IFormatProvider> &provider)
ParameterTypeBeschrijving
valueconst String&De te converteren string.
stijlenGlobalization::NumberStylesEen bitwise-combinatie van waarden van de NumberStyles-enumeratie die de toegestane stijl van de tekenreeksrepresentatie van een getal specificeert.
providerconst SharedPtr<IFormatProvider>&Een pointer naar een object dat de tekenreeksopmaakinformatie bevat.

ReturnValue

De 32-bits ondertekende integer die gelijk is aan het getal dat wordt weergegeven door de opgegeven tekenreeks.

Zie ook

Int32::Parse(const String&, Globalization::NumberStyles, std::nullptr_t) method

static int32_t System::Int32::Parse(const String &value, Globalization::NumberStyles styles, std::nullptr_t=nullptr)

Zie ook

Int32::Parse(const String&, std::nullptr_t) method

static int32_t System::Int32::Parse(const String &value, std::nullptr_t)

Zie ook