## XPathResultType enum


Specifies the return type of the [XPath](../) expression.

```cpp
enum class XPathResultType
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| Number | 0 | A numeric value. |
| String | 1 | A [String](../../system/string/) value. |
| Boolean | 2 | A [Boolean](../../system/boolean/)**true** or **false** value. |
| NodeSet | 3 | A node collection. |
| Navigator | n/a | A tree fragment. |
| Any | 5 | Any of the [XPath](../) node types. |
| Error | 6 | The expression does not evaluate to the correct [XPath](../) type. |

## See Also

* Namespace [System::Xml::XPath](../)
* Library [Aspose.PUB for C++](../../)
