Table of Contents

Method LoadUrlOrSearch

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

LoadUrlOrSearch(string?)

Loads a web page from a URL if it is in a valid format. Otherwise opens passed URL in the Google search.

public virtual void LoadUrlOrSearch(string? url)

Parameters

url string

A string representing the URL of the document to load. If this parameter is null, WebBrowser navigates to a blank document.