Sdílet prostřednictvím


XmlQueryContext.GetDataSource(String, String) Metoda

Definice

Získá zdroj dat určený a uriRelativeuriBase z zadaného T:System.Xml.XmlResolver uživatele.

Toto rozhraní API podporuje produktovou infrastrukturu a není určené k použití přímo z uživatelského kódu.

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

Parametry

uriRelative
String

Hodnota typu string.

uriBase
String

Hodnota typu string.

Návraty

Instance třídy XPathNavigator

Poznámky

Vyvolá výjimku, pokud nebyl nalezen žádný zdroj dat.

Platí pro