XsltFunctions.BaseUri(XPathNavigator) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳參數所傳遞 navigator 節點節點的基底 URI 值。 依據 W3C 規範實作 baseUri XPath 功能。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public:
static System::String ^ BaseUri(System::Xml::XPath::XPathNavigator ^ navigator);
public static string BaseUri(System.Xml.XPath.XPathNavigator navigator);
static member BaseUri : System.Xml.XPath.XPathNavigator -> string
Public Shared Function BaseUri (navigator As XPathNavigator) As String
參數
- navigator
- XPathNavigator
XPathNavigator包含要由 URI 識別的節點的實例。
傳回
基礎 URI 為 String。