## XmlReader::ReadElementContentAsString() method


Legge l'elemento corrente e restituisce il contenuto come oggetto [String](../../../system/string/).

```cpp
virtual String System::Xml::XmlReader::ReadElementContentAsString()
```


### ReturnValue

Il contenuto dell'elemento come oggetto [String](../../../system/string/).

## Vedi anche

* Class [String](../../../system/string/)
* Class [XmlReader](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
## XmlReader::ReadElementContentAsString(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 oggetto [String](../../../system/string/).

```cpp
virtual String System::Xml::XmlReader::ReadElementContentAsString(String localName, String namespaceURI)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| localName | String | Il nome locale dell'elemento. |
| namespaceURI | String | L'URI dello spazio dei nomi dell'elemento. |

### ReturnValue

Il contenuto dell'elemento come oggetto [String](../../../system/string/).

## Vedi anche

* Class [String](../../../system/string/)
* Class [XmlReader](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
