browser class : LoadUrl(string,bool) method

Description

Moves to the specified URL.

Syntax

instance.LoadUrl(string url, bool sync)

Arguments

ClassNameDescription
stringurlURL
boolsyncSynchronous 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.

Copyright © Cooker All rights reserved.