Document.Navigate

Loads the document at the specified Uniform Resource Locator (URL) into the current instance, replacing the previous content.

public void Navigate(string address)
ParameterTypeDescription
addressStringThe document address. It will be combined with the current directory path to form an absolute URL.

See Also


Loads the document at the specified Uniform Resource Locator (URL) into the current instance, replacing the previous content.

public void Navigate(Url url)
ParameterTypeDescription
urlUrlThe document URL.

See Also


Loads the document from specified content and using baseUri to resolve relative resources, replacing the previous content.

public void Navigate(string content, string baseUri)
ParameterTypeDescription
contentStringThe document content.
baseUriStringThe base URI to resolve relative resources. It will be combined with the current directory path to form an absolute URL.

Exceptions

exceptioncondition
ArgumentNullExceptionbaseUri is null.

See Also


Loads the document from specified content and using baseUri to resolve relative resources, replacing the previous content.

public void Navigate(string content, Url baseUri)
ParameterTypeDescription
contentStringThe document content.
baseUriUrlThe base URI to resolve relative resources.

Exceptions

exceptioncondition
ArgumentNullExceptionbaseUri is null.

See Also


Loads the document from specified content and using baseUri to resolve relative resources, replacing the previous content. Document loading starts from the current position in the stream.

public void Navigate(Stream content, string baseUri)
ParameterTypeDescription
contentStreamThe document content.
baseUriStringThe base URI to resolve relative resources. It will be combined with the current directory path to form an absolute URL.

Exceptions

exceptioncondition
ArgumentNullExceptionbaseUri is null.

See Also


Loads the document from specified content and using baseUri to resolve relative resources, replacing the previous content. Document loading starts from the current position in the stream.

public void Navigate(Stream content, Url baseUri)
ParameterTypeDescription
contentStreamThe document content.
baseUriUrlThe base URI to resolve relative resources.

Exceptions

exceptioncondition
ArgumentNullExceptionbaseUri is null.

See Also


Loads the document based on specified request object, replacing the previous content.

public void Navigate(RequestMessage request)
ParameterTypeDescription
requestRequestMessageThe request object that is used to load document content.

See Also