## XmlReader::ReadElementContentAsString() method


Lee el elemento actual y devuelve el contenido como un objeto [String](../../../system/string/).

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


### ReturnValue

El contenido del elemento como un objeto [String](../../../system/string/).

## Ver también

* Class [String](../../../system/string/)
* Class [XmlReader](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
## XmlReader::ReadElementContentAsString(String, String) method


Verifica que el nombre local y el URI del espacio de nombres especificados coincidan con los del elemento actual, luego lee el elemento actual y devuelve el contenido como un objeto [String](../../../system/string/).

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| localName | String | El nombre local del elemento. |
| namespaceURI | String | El URI del espacio de nombres del elemento. |

### ReturnValue

El contenido del elemento como un objeto [String](../../../system/string/).

## Ver también

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