XPathResultType 枚举

指定 XPath 表达式的返回类型。

**命名空间:**System.Xml.XPath
**程序集:**System.Xml(在 system.xml.dll 中)

语法

声明
Public Enumeration XPathResultType
用法
Dim instance As XPathResultType
public enum XPathResultType
public enum class XPathResultType
public enum XPathResultType
public enum XPathResultType

成员

  成员名称 说明
Any 任何一种 XPath 节点类型。 
Boolean Booleantruefalse 值。 
Error 该表达式的计算结果不是正确的 XPath 类型。 
Navigator 一个树片段。 
NodeSet 一个节点集合。 
Number 一个数值。 
String String 值。 

平台

Windows 98、Windows 2000 SP4、Windows Millennium Edition、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:2.0、1.1、1.0

请参见

参考

System.Xml.XPath 命名空间
XPathExpression.ReturnType 属性
IXsltContextVariable.VariableType
IXsltContextFunction.ReturnType
XsltContext.ResolveFunction