Document.Navigate Navigate(string ) Loads the document at the specified Uniform Resource Locator (URL) into the current instance, replacing the previous content.
Copy public void Navigate ( string address )
Parameter Type Description address String The document address. It will be combined with the current directory path to form an absolute URL.
See Also Navigate(Url ) Loads the document at the specified Uniform Resource Locator (URL) into the current instance, replacing the previous content.
Copy public void Navigate ( Url url )
Parameter Type Description url Url The document URL.
See Also Navigate(string, string ) Loads the document from specified content and using baseUri to resolve relative resources, replacing the previous content.
Copy public void Navigate ( string content , string baseUri )
Parameter Type Description content String The document content. baseUri String The base URI to resolve relative resources. It will be combined with the current directory path to form an absolute URL.
Exceptions exception condition ArgumentNullException baseUri
is null
.
See Also Navigate(string, Url ) Loads the document from specified content and using baseUri to resolve relative resources, replacing the previous content.
Copy public void Navigate ( string content , Url baseUri )
Parameter Type Description content String The document content. baseUri Url The base URI to resolve relative resources.
Exceptions exception condition ArgumentNullException baseUri
is null
.
See Also Navigate(Stream, string ) 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.
Copy public void Navigate ( Stream content , string baseUri )
Parameter Type Description content Stream The document content. baseUri String The base URI to resolve relative resources. It will be combined with the current directory path to form an absolute URL.
Exceptions exception condition ArgumentNullException baseUri
is null
.
See Also Navigate(Stream, Url ) 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.
Copy public void Navigate ( Stream content , Url baseUri )
Parameter Type Description content Stream The document content. baseUri Url The base URI to resolve relative resources.
Exceptions exception condition ArgumentNullException baseUri
is null
.
See Also Loads the document based on specified request object, replacing the previous content.
Copy public void Navigate ( RequestMessage request )
Parameter Type Description request RequestMessage The request object that is used to load document content.
See Also Navigate(string, CancellationToken ) Loads the document at the specified Uniform Resource Locator (URL) into the current instance, replacing the previous content.
Copy public void Navigate ( string address , CancellationToken cancellationToken )
Parameter Type Description address String The document address. It will be combined with the current directory path to form an absolute URL. cancellationToken CancellationToken The cancellation token.
Exceptions exception condition OperationCanceledException Operation was cancelled.
See Also Navigate(Url , CancellationToken ) Loads the document at the specified Uniform Resource Locator (URL) into the current instance, replacing the previous content.
Copy public void Navigate ( Url url , CancellationToken cancellationToken )
Parameter Type Description url Url The document URL. cancellationToken CancellationToken The cancellation token.
Exceptions exception condition OperationCanceledException Operation was cancelled.
See Also Navigate(string, string, CancellationToken ) Loads the document from specified content and using baseUri to resolve relative resources, replacing the previous content.
Copy public void Navigate ( string content , string baseUri , CancellationToken cancellationToken )
Parameter Type Description content String The document content. baseUri String The base URI to resolve relative resources. It will be combined with the current directory path to form an absolute URL. cancellationToken CancellationToken The cancellation token.
Exceptions exception condition OperationCanceledException Operation was cancelled. ArgumentNullException baseUri
is null
.
See Also Navigate(string, Url , CancellationToken ) Loads the document from specified content and using baseUri to resolve relative resources, replacing the previous content.
Copy public void Navigate ( string content , Url baseUri , CancellationToken cancellationToken )
Parameter Type Description content String The document content. baseUri Url The base URI to resolve relative resources. cancellationToken CancellationToken The cancellation token.
Exceptions exception condition OperationCanceledException Operation was cancelled. ArgumentNullException baseUri
is null
.
See Also Navigate(Stream, string, CancellationToken ) 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.
Copy public void Navigate ( Stream content , string baseUri , CancellationToken cancellationToken )
Parameter Type Description content Stream The document content. baseUri String The base URI to resolve relative resources. It will be combined with the current directory path to form an absolute URL. cancellationToken CancellationToken The cancellation token.
Exceptions exception condition OperationCanceledException Operation was cancelled. ArgumentNullException baseUri
is null
.
See Also Navigate(Stream, Url , CancellationToken ) 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.
Copy public void Navigate ( Stream content , Url baseUri , CancellationToken cancellationToken )
Parameter Type Description content Stream The document content. baseUri Url The base URI to resolve relative resources. cancellationToken CancellationToken The cancellation token.
Exceptions exception condition OperationCanceledException Operation was cancelled. ArgumentNullException baseUri
is null
.
See Also Navigate(RequestMessage , CancellationToken ) Loads the document based on specified request object, replacing the previous content.
Copy public void Navigate ( RequestMessage request , CancellationToken cancellationToken )
Parameter Type Description request RequestMessage The request object that is used to load document content. cancellationToken CancellationToken The cancellation token.
Exceptions exception condition OperationCanceledException Operation was cancelled.
See Also