## XPathResultType enum


指定 [XPath](../) 表达式的返回类型。

```cpp
enum class XPathResultType
```

### 值

| 名称 | 值 | 描述 |
| --- | --- | --- |
| 数字 | 0 | 数值。 |
| String | 1 | 一个 [String](../../system/string/) 值。 |
| Boolean | 2 | 一个 [Boolean](../../system/boolean/) **true** 或 **false** 值。 |
| NodeSet | 3 | 节点集合。 |
| Navigator | n/a | 树片段。 |
| Any | 5 | 任意 [XPath](../) 节点类型。 |
| Error | 6 | 表达式未评估为正确的 [XPath](../) 类型。 |

## 另见

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