browser class : LoadUrl(string,bool) method
Description
Moves to the specified URL.
Syntax
instance.LoadUrl(string url, bool sync)
Arguments
Class | Name | Description |
string | url | URL |
bool | sync | Synchronous or asynchronous. |
Return value
None.
Sample code
1: | browser b; // Main-browser |
2: | string url = "https://example.com/"; |
3: | b.LoadUrl(url, true); // Synchronous loading. |
Notes
If you specify true for the second argument, the moving will be done synchronously. If false is specified, it will be done asynchronously.
Events related to page navigation occur.
Links for reference
None.