ReadContentAsDecimal()

XmlReader::ReadContentAsDecimal() method

Reads the text content at the current position as a Decimal object.

virtual Decimal System::Xml::XmlReader::ReadContentAsDecimal()

Return Value

The text content at the current position as a Decimal object.

Exceptions

ExceptionDescription
InvalidCastExceptionThe attempted cast is not valid.
FormatExceptionThe string format is not valid.

See Also