ReadContentAsFloat()

XmlReader::ReadContentAsFloat() method

Reads the text content at the current position as a single-precision floating point number.

virtual float System::Xml::XmlReader::ReadContentAsFloat()

Return Value

The text content at the current position as a single-precision floating point number.

Exceptions

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

See Also