Metodo System::Xml::XmlReader::ReadElementContentAsObject
Contenuti
[
Nascondere
]XmlReader::ReadElementContentAsObject() method
Legge l’elemento corrente e restituisce il contenuto come un Object.
virtual SharedPtr<Object> System::Xml::XmlReader::ReadElementContentAsObject()
ReturnValue
Un oggetto boxed del tipo più appropriato. Il valore XmlReader::get_ValueType determina il tipo appropriato. Se il contenuto è tipizzato come un tipo di elenco, questo metodo restituisce un array di oggetti boxed del tipo appropriato.
Vedi anche
- Typedef SharedPtr
- Class Object
- Class XmlReader
- Namespace System::Xml
- Library Aspose.Font for C++
XmlReader::ReadElementContentAsObject(String, String) method
Verifica che il nome locale e l’URI dello spazio dei nomi specificati corrispondano a quelli dell’elemento corrente, quindi legge l’elemento corrente e restituisce il contenuto come un Object.
virtual SharedPtr<Object> System::Xml::XmlReader::ReadElementContentAsObject(String localName, String namespaceURI)
| Parametro | Tipo | Descrizione |
|---|---|---|
| localName | Stringa | Il nome locale dell’elemento. |
| namespaceURI | Stringa | L’URI dello spazio dei nomi dell’elemento. |
ReturnValue
Un oggetto boxed del tipo più appropriato. Il valore XmlReader::get_ValueType determina il tipo appropriato. Se il contenuto è tipizzato come un tipo di elenco, questo metodo restituisce un array di oggetti boxed del tipo appropriato.
Vedi anche
- Typedef SharedPtr
- Class Object
- Class String
- Class XmlReader
- Namespace System::Xml
- Library Aspose.Font for C++