ReadElementContentAsObject()
Contents
[
Hide
]XmlReader::ReadElementContentAsObject() method
Reads the current element and returns the contents as an Object.
virtual SharedPtr<Object> System::Xml::XmlReader::ReadElementContentAsObject()
Return Value
A boxed object of the most appropriate type. The XmlReader::get_ValueType value determines the appropriate type. If the content is typed as a list type, this method returns an array of boxed objects of the appropriate type.
XmlReader::ReadElementContentAsObject(String, String) method
Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as an Object.
virtual SharedPtr<Object> System::Xml::XmlReader::ReadElementContentAsObject(String localName, String namespaceURI)
Arguments
Parameter | Type | Description |
---|---|---|
localName | String | The local name of the element. |
namespaceURI | String | The namespace URI of the element. |
Return Value
A boxed object of the most appropriate type. The XmlReader::get_ValueType value determines the appropriate type. If the content is typed as a list type, this method returns an array of boxed objects of the appropriate type.
See Also
- Typedef SharedPtr
- Class Object
- Class XmlReader
- Class String
- Namespace System::Xml
- Library Aspose.Slides