ToUInt32()
XmlConvert::ToUInt32(const String&) method
Converts the String to a UInt32 equivalent.
static uint32_t System::Xml::XmlConvert::ToUInt32(const String &s)
Arguments
| Parameter | Type | Description |
|---|---|---|
| s | const String& | The string to convert. |
Return Value
A UInt32 equivalent of the string.
Exceptions
| Exception | Description |
|---|---|
| ArgumentNullException | s is nullptr. |
| FormatException | s is not in the correct format. |
| OverflowException | s represents a number less than UInt32::MinValue or greater than UInt32::MaxValue. |
See Also
- Class String
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.Slides