Condividi tramite


XmlQueryContext.GetDataSource(String, String) Metodo

Definizione

Ottiene l'origine dati specificata da uriRelative e uriBase dall'oggetto T:System.Xml.XmlResolver fornito dall'utente.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

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

Parametri

uriRelative
String

Valore di tipo string.

uriBase
String

Valore di tipo string.

Restituisce

XPathNavigator

Istanza della classe XPathNavigator.

Commenti

Genera un'eccezione se non è stata trovata alcuna origine dati.

Si applica a