ReadContentAsObject()

XmlReader::ReadContentAsObject() method

Reads the text content at the current position as an Object.

virtual SharedPtr<Object> System::Xml::XmlReader::ReadContentAsObject()

Return Value

The text content as the most appropriate object type.

Exceptions

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

See Also