共用方式為


SeekableXPathNavigator.GetNodeType(Int64) 方法

定義

在衍生類別中覆寫時,傳回位於已指定位置之節點的類型。

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

參數

nodePosition
Int64

正在擷取其節點類型之節點的位置。

傳回

指出 XML 節點之類型的其中一個 XPathNodeType 值。

例外狀況

nodePosition 無效。

適用於