XmlQueryContext.GetDataSource(String, String) Metod

Definition

Hämtar datakällan som anges av uriRelative och uriBase från den T:System.Xml.XmlResolver som användaren angav.

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

public:
 System::Xml::XPath::XPathNavigator ^ GetDataSource(System::String ^ uriRelative, System::String ^ uriBase);
public System.Xml.XPath.XPathNavigator GetDataSource(string uriRelative, string uriBase);
member this.GetDataSource : string * string -> System.Xml.XPath.XPathNavigator
Public Function GetDataSource (uriRelative As String, uriBase As String) As XPathNavigator

Parametrar

uriRelative
String

Ett värde av typen string.

uriBase
String

Ett värde av typen string.

Returer

En instans av XPathNavigator klassen.

Kommentarer

Utlöser ett undantag om ingen datakälla hittades.

Gäller för