get_ValueAsInt()
XmlAtomicValue::get_ValueAsInt() method
Returns the validated XML element or attribute’s value as an Int32.
int32_t System::Xml::Schema::XmlAtomicValue::get_ValueAsInt() override
Return Value
The validated XML element or attribute’s value as an Int32.
Exceptions
| Exception | Description |
|---|---|
| FormatException | The validated XML element or attribute’s value is not in the correct format for the Int32 type. |
| InvalidCastException | The attempted cast to Int32 is not valid. |
| OverflowException | The attempted cast resulted in an overflow. |
See Also
- Class XmlAtomicValue
- Namespace System::Xml::Schema
- Library Aspose.Slides