System::Int64::Parse method

Int64::Parse(const String&) method

Konverterar den angivna strängen som innehåller talets textrepresentation till motsvarande 64‑bit‑signerade heltal.

static int64_t System::Int64::Parse(const String &value)
ParameterTypeBeskrivning
valueconst String&Strängen att konvertera.

ReturnValue

Det 64-bitars signerade heltalet som är lika med talet som representeras av den angivna strängen.

Se även

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

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

Se även

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

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

Se även

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

Konverterar den angivna strängen som innehåller talets textrepresentation till motsvarande 64‑bit‑signerade heltal med den angivna formateringsinformationen.

static int64_t System::Int64::Parse(const String &value, const SharedPtr<IFormatProvider> &provider)
ParameterTypeBeskrivning
valueconst String&Strängen att konvertera.
leverantörconst SharedPtr<IFormatProvider>&En pekare till ett objekt som innehåller information om strängformat.

ReturnValue

Det 64-bitars signerade heltalet som är lika med talet som representeras av den angivna strängen.

Se även

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

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

Se även

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

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

Se även

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

Konverterar den angivna strängen som innehåller talets textrepresentation till motsvarande 64‑bit‑signerade heltal med den angivna formateringsinformationen och talstil.

static int64_t System::Int64::Parse(const String &value, Globalization::NumberStyles styles, const SharedPtr<IFormatProvider> &provider)
ParameterTypeBeskrivning
valueconst String&Strängen att konvertera.
stilarGlobalization::NumberStylesEn bitvis kombination av värden i NumberStyles-enum som specificerar den tillåtna stilen för talets strängrepresentation.
leverantörconst SharedPtr<IFormatProvider>&En pekare till ett objekt som innehåller information om strängformat.

ReturnValue

Det 64-bitars signerade heltalet som är lika med talet som representeras av den angivna strängen.

Se även

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

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

Se även

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

static int64_t System::Int64::Parse(const String &value, std::nullptr_t)

Se även