SeekableXPathNavigator.GetNodeType(Int64) 方法

定义

在派生类中重写时,返回位于指定位置的节点的类型。

public:
 abstract System::Xml::XPath::XPathNodeType GetNodeType(long nodePosition);
public:
 abstract System::Xml::XPath::XPathNodeType GetNodeType(long node_position);
public abstract System.Xml.XPath.XPathNodeType GetNodeType (long nodePosition);
public abstract System.Xml.XPath.XPathNodeType GetNodeType (long node_position);
abstract member GetNodeType : int64 -> System.Xml.XPath.XPathNodeType
abstract member GetNodeType : int64 -> System.Xml.XPath.XPathNodeType
Public MustOverride Function GetNodeType (nodePosition As Long) As XPathNodeType
Public MustOverride Function GetNodeType (node_position As Long) As XPathNodeType

参数

nodePositionnode_position
Int64

正在检索其节点类型的节点的位置。

返回

XPathNodeType

指示 XML 节点的类型的 XPathNodeType 值之一。

例外

nodePosition 无效。

适用于