browser class : IsMain getter

Description

Returns a value that indicates whether it is the Main-browser.

Syntax

instance.IsMain

Arguments

None.

Return value

ClassDescription
boolWhether it is the Main-browser.

Sample code

1:

browser b = new browser(); // Main-browser

2:

bool m = b.IsMain;

Notes

Returns true if it is the Main-browser. If it is the Sub-browser, returns false.

Links for reference

None.

Copyright © Cooker All rights reserved.