Click or drag to resize

IWebBrowserTryGetBrowserCoreById Method

Version 130.1.90
Try and get a reference to the IBrowser instance that matches the browserId. Primarily used for geting a reference to the IBrowser used by popups.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
bool TryGetBrowserCoreById(
	int browserId,
	out IBrowser browser
)

Parameters

browserId  Int32
browser Id
browser  IBrowser
When this method returns, contains the IBrowser object reference that matches the specified browserId, or null if no matching instance found.

Return Value

Boolean
true if a IBrowser instance was found matching browserId; otherwise, false.
See Also