## XmlDocument::ReadNode method


Crea un oggetto [XmlNode](../../xmlnode/) basato sulle informazioni contenute nel [XmlReader](../../xmlreader/). Il lettore deve essere posizionato su un nodo o su un attributo.

```cpp
virtual SharedPtr<XmlNode> System::Xml::XmlDocument::ReadNode(SharedPtr<XmlReader> reader)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| lettore | SharedPtr\<XmlReader\> | La sorgente XML. |

### ReturnValue

Il nuovo [XmlNode](../../xmlnode/) o **nullptr** se non esistono altri nodi.

## Vedi anche

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlNode](../../xmlnode/)
* Class [XmlReader](../../xmlreader/)
* Class [XmlDocument](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
