XmlQueryRuntime.GenerateId(XPathNavigator) 方法

定义

生成指定节点的唯一字符串标识符。

public:
 System::String ^ GenerateId(System::Xml::XPath::XPathNavigator ^ navigator);
public string GenerateId (System.Xml.XPath.XPathNavigator navigator);
member this.GenerateId : System.Xml.XPath.XPathNavigator -> string
Public Function GenerateId (navigator As XPathNavigator) As String

参数

navigator
XPathNavigator

XPathNavigator 类的实例。

返回

一个 string 类型的值。

适用于