## XmlReader::ReadElementContentAsInt() method


Reads the current element and returns the contents as a 32-bit signed integer.

```cpp
virtual int32_t System::Xml::XmlReader::ReadElementContentAsInt()
```


### ReturnValue

The element content as a 32-bit signed integer.

## See Also

* Class [XmlReader](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
## XmlReader::ReadElementContentAsInt(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 a 32-bit signed integer.

```cpp
virtual int32_t System::Xml::XmlReader::ReadElementContentAsInt(String localName, String namespaceURI)
```


| Parameter | Type | Description |
| --- | --- | --- |
| localName | String | The local name of the element. |
| namespaceURI | String | The namespace URI of the element. |

### ReturnValue

The element content as a 32-bit signed integer.

## See Also

* Class [String](../../../system/string/)
* Class [XmlReader](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
