System::Int16::Parse-metod
Int16::Parse(const String&) method
Konverterar den angivna strängen som innehåller talets strängrepresentation till motsvarande 16-bitars signerade heltal.
static int16_t System::Int16::Parse(const String &value)
| Parameter | Typ | Beskrivning |
|---|---|---|
| värde | const String& | Strängen att konvertera. |
ReturnValue
Det 16-bitars signerade heltalet som är lika med talet som representeras av den angivna strängen.
Se även
- Class String
- Class Int16
- Namespace System
- Library Aspose.PDF for C++
Int16::Parse(const String&, const SharedPtr<Globalization::CultureInfo>&) method
static int16_t System::Int16::Parse(const String &value, const SharedPtr<Globalization::CultureInfo> &culture)
Se även
- Class String
- Typedef SharedPtr
- Class CultureInfo
- Class Int16
- Namespace System
- Library Aspose.PDF for C++
Int16::Parse(const String&, const SharedPtr<Globalization::NumberFormatInfo>&) method
static int16_t System::Int16::Parse(const String &value, const SharedPtr<Globalization::NumberFormatInfo> &nfi)
Se även
- Class String
- Typedef SharedPtr
- Class NumberFormatInfo
- Class Int16
- Namespace System
- Library Aspose.PDF for C++
Int16::Parse(const String&, const SharedPtr<IFormatProvider>&) method
Konverterar den angivna strängen som innehåller talets strängrepresentation till motsvarande 16-bitars signerade heltal med hjälp av den angivna formateringsinformationen.
static int16_t System::Int16::Parse(const String &value, const SharedPtr<IFormatProvider> &provider)
| Parameter | Typ | Beskrivning |
|---|---|---|
| värde | const String& | Strängen att konvertera. |
| leverantör | const SharedPtr<IFormatProvider>& | En pekare till ett objekt som innehåller information om strängformat. |
ReturnValue
Det 16-bitars signerade heltalet som är lika med talet som representeras av den angivna strängen.
Se även
- Class String
- Typedef SharedPtr
- Class IFormatProvider
- Class Int16
- Namespace System
- Library Aspose.PDF for C++
Int16::Parse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::CultureInfo>&) method
static int16_t System::Int16::Parse(const String &value, Globalization::NumberStyles styles, const SharedPtr<Globalization::CultureInfo> &culture)
Se även
- Class String
- Enum NumberStyles
- Typedef SharedPtr
- Class CultureInfo
- Class Int16
- Namespace System
- Library Aspose.PDF for C++
Int16::Parse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::NumberFormatInfo>&) method
static int16_t System::Int16::Parse(const String &value, Globalization::NumberStyles styles, const SharedPtr<Globalization::NumberFormatInfo> &nfi)
Se även
- Class String
- Enum NumberStyles
- Typedef SharedPtr
- Class NumberFormatInfo
- Class Int16
- Namespace System
- Library Aspose.PDF for C++
Int16::Parse(const String&, Globalization::NumberStyles, const SharedPtr<IFormatProvider>&) method
Konverterar den angivna strängen som innehåller talets strängrepresentation till motsvarande 16-bitars signerade heltal med hjälp av den angivna formateringsinformationen och talstilen.
static int16_t System::Int16::Parse(const String &value, Globalization::NumberStyles styles, const SharedPtr<IFormatProvider> &provider)
| Parameter | Typ | Beskrivning |
|---|---|---|
| värde | const String& | Strängen att konvertera. |
| stilar | Globalization::NumberStyles | En bitvis kombination av värden i NumberStyles‑enumerationen som specificerar den tillåtna stilen för ett tal i strängrepresentation. |
| leverantör | const SharedPtr<IFormatProvider>& | En pekare till ett objekt som innehåller information om strängformat. |
ReturnValue
Det 16-bitars signerade heltalet som är lika med talet som representeras av den angivna strängen.
Se även
- Class String
- Enum NumberStyles
- Typedef SharedPtr
- Class IFormatProvider
- Class Int16
- Namespace System
- Library Aspose.PDF for C++
Int16::Parse(const String&, Globalization::NumberStyles, std::nullptr_t) method
static int16_t System::Int16::Parse(const String &value, Globalization::NumberStyles styles, std::nullptr_t=nullptr)
Se även
- Class String
- Enum NumberStyles
- Class Int16
- Namespace System
- Library Aspose.PDF for C++
Int16::Parse(const String&, std::nullptr_t) method
static int16_t System::Int16::Parse(const String &value, std::nullptr_t)
Se även
- Class String
- Class Int16
- Namespace System
- Library Aspose.PDF for C++