System::Int32::Parse 方法
内容
[
隐藏
]Int32::Parse(const ReadOnlySpan<char16_t>&) method
static int32_t System::Int32::Parse(const ReadOnlySpan<char16_t> &span)
另见
- Class ReadOnlySpan
- Class Int32
- Namespace System
- Library Aspose.Font for C++
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)
另见
- Class ReadOnlySpan
- Enum NumberStyles
- Typedef SharedPtr
- Class IFormatProvider
- Class Int32
- Namespace System
- Library Aspose.Font for C++
Int32::Parse(const ReadOnlySpan<char16_t>&, std::nullptr_t) method
static int32_t System::Int32::Parse(const ReadOnlySpan<char16_t> &span, std::nullptr_t)
另见
- Class ReadOnlySpan
- Class Int32
- Namespace System
- Library Aspose.Font for C++
Int32::Parse(const String&) method
将包含数字字符串表示的指定字符串转换为等效的 32 位有符号整数。
static int32_t System::Int32::Parse(const String &value)
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | const String& | 待转换的字符串。 |
ReturnValue
等于指定字符串表示的数字的 32 位有符号整数。
另见
- Class String
- Class Int32
- Namespace System
- Library Aspose.Font for C++
Int32::Parse(const String&, const SharedPtr<Globalization::CultureInfo>&) method
static int32_t System::Int32::Parse(const String &value, const SharedPtr<Globalization::CultureInfo> &culture)
另见
- Class String
- Typedef SharedPtr
- Class CultureInfo
- Class Int32
- Namespace System
- Library Aspose.Font for C++
Int32::Parse(const String&, const SharedPtr<Globalization::NumberFormatInfo>&) method
static int32_t System::Int32::Parse(const String &value, const SharedPtr<Globalization::NumberFormatInfo> &nfi)
另见
- Class String
- Typedef SharedPtr
- Class NumberFormatInfo
- Class Int32
- Namespace System
- Library Aspose.Font for C++
Int32::Parse(const String&, const SharedPtr<IFormatProvider>&) method
将包含数字字符串表示的指定字符串转换为等效的 32 位有符号整数,使用提供的格式信息。
static int32_t System::Int32::Parse(const String &value, const SharedPtr<IFormatProvider> &provider)
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | const String& | 待转换的字符串。 |
| 提供程序 | const SharedPtr<IFormatProvider>& | 指向包含字符串格式信息的对象的指针。 |
ReturnValue
等于指定字符串表示的数字的 32 位有符号整数。
另见
- Class String
- Typedef SharedPtr
- Class IFormatProvider
- Class Int32
- Namespace System
- Library Aspose.Font for C++
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)
另见
- Class String
- Enum NumberStyles
- Typedef SharedPtr
- Class CultureInfo
- Class Int32
- Namespace System
- Library Aspose.Font for C++
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)
另见
- Class String
- Enum NumberStyles
- Typedef SharedPtr
- Class NumberFormatInfo
- Class Int32
- Namespace System
- Library Aspose.Font for C++
Int32::Parse(const String&, Globalization::NumberStyles, const SharedPtr<IFormatProvider>&) method
将包含数字字符串表示的指定字符串转换为等效的 32 位有符号整数,使用提供的格式信息和数字样式。
static int32_t System::Int32::Parse(const String &value, Globalization::NumberStyles styles, const SharedPtr<IFormatProvider> &provider)
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | const String& | 待转换的字符串。 |
| styles | Globalization::NumberStyles | NumberStyles 枚举值的按位组合,指定数字字符串表示的允许样式。 |
| 提供程序 | const SharedPtr<IFormatProvider>& | 指向包含字符串格式信息的对象的指针。 |
ReturnValue
等于指定字符串表示的数字的 32 位有符号整数。
另见
- Class String
- Enum NumberStyles
- Typedef SharedPtr
- Class IFormatProvider
- Class Int32
- Namespace System
- Library Aspose.Font for C++
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)
另见
- Class String
- Enum NumberStyles
- Class Int32
- Namespace System
- Library Aspose.Font for C++
Int32::Parse(const String&, std::nullptr_t) method
static int32_t System::Int32::Parse(const String &value, std::nullptr_t)
另见
- Class String
- Class Int32
- Namespace System
- Library Aspose.Font for C++