System::Byte::Parse method
Contents
[
Hide
]Byte::Parse(const String&) method
Converts the specified string containing the string representation of a number to the equivalent 8-bit unsigned integer.
static uint8_t System::Byte::Parse(const String &value)
Parameter | Type | Description |
---|---|---|
value | const String& | The string to convert. |
ReturnValue
The 8-bit unsigned integer equal to the number represented by the specified string.
See Also
- Class String
- Class Byte
- Namespace System
- Library Aspose.Font for C++
Byte::Parse(const String&, const SharedPtr<Globalization::CultureInfo>&) method
static uint8_t System::Byte::Parse(const String &value, const SharedPtr<Globalization::CultureInfo> &culture)
See Also
- Class String
- Typedef SharedPtr
- Class CultureInfo
- Class Byte
- Namespace System
- Library Aspose.Font for C++
Byte::Parse(const String&, const SharedPtr<Globalization::NumberFormatInfo>&) method
static uint8_t System::Byte::Parse(const String &value, const SharedPtr<Globalization::NumberFormatInfo> &nfi)
See Also
- Class String
- Typedef SharedPtr
- Class NumberFormatInfo
- Class Byte
- Namespace System
- Library Aspose.Font for C++
Byte::Parse(const String&, const SharedPtr<IFormatProvider>&) method
Converts the specified string containing the string representation of a number to the equivalent 8-bit unsigned integer using the provided formatting information.
static uint8_t System::Byte::Parse(const String &value, const SharedPtr<IFormatProvider> &provider)
Parameter | Type | Description |
---|---|---|
value | const String& | The string to convert. |
provider | const SharedPtr<IFormatProvider>& | A pointer to an object that contains the string format information. |
ReturnValue
The 8-bit unsigned integer equal to the number represented by the specified string.
See Also
- Class String
- Typedef SharedPtr
- Class IFormatProvider
- Class Byte
- Namespace System
- Library Aspose.Font for C++
Byte::Parse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::CultureInfo>&) method
static uint8_t System::Byte::Parse(const String &value, Globalization::NumberStyles styles, const SharedPtr<Globalization::CultureInfo> &culture)
See Also
- Class String
- Enum NumberStyles
- Typedef SharedPtr
- Class CultureInfo
- Class Byte
- Namespace System
- Library Aspose.Font for C++
Byte::Parse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::NumberFormatInfo>&) method
static uint8_t System::Byte::Parse(const String &value, Globalization::NumberStyles styles, const SharedPtr<Globalization::NumberFormatInfo> &nfi)
See Also
- Class String
- Enum NumberStyles
- Typedef SharedPtr
- Class NumberFormatInfo
- Class Byte
- Namespace System
- Library Aspose.Font for C++
Byte::Parse(const String&, Globalization::NumberStyles, const SharedPtr<IFormatProvider>&) method
Converts the specified string containing the string representation of a number to the equivalent 8-bit unsigned integer using the provided formatting information and number style.
static uint8_t System::Byte::Parse(const String &value, Globalization::NumberStyles styles, const SharedPtr<IFormatProvider> &provider)
Parameter | Type | Description |
---|---|---|
value | const String& | The string to convert. |
styles | Globalization::NumberStyles | A bitwise combination of values of NumberStyles enum that specifies the permitted style of the string representation of a number. |
provider | const SharedPtr<IFormatProvider>& | A pointer to an object that contains the string format information. |
ReturnValue
The 8-bit unsigned integer equal to the number represented by the specified string.
See Also
- Class String
- Enum NumberStyles
- Typedef SharedPtr
- Class IFormatProvider
- Class Byte
- Namespace System
- Library Aspose.Font for C++
Byte::Parse(const String&, Globalization::NumberStyles, std::nullptr_t) method
static uint8_t System::Byte::Parse(const String &value, Globalization::NumberStyles styles, std::nullptr_t=nullptr)
See Also
- Class String
- Enum NumberStyles
- Class Byte
- Namespace System
- Library Aspose.Font for C++
Byte::Parse(const String&, std::nullptr_t) method
static uint8_t System::Byte::Parse(const String &value, std::nullptr_t)
See Also
- Class String
- Class Byte
- Namespace System
- Library Aspose.Font for C++