ChromiumWebBrowserTryGetBrowserCoreById Method |
Version 98.1.210
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.WinForms
Assembly:
CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 98.1.210.0 (98.1.210.0)
Syntax public bool TryGetBrowserCoreById(
int browserId,
out IBrowser browser
)
public:
virtual bool TryGetBrowserCoreById(
int browserId,
[OutAttribute] IBrowser^% browser
) sealed
Parameters
- browserId
- Type: SystemInt32
browser Id - browser
- Type: CefSharpIBrowser
When this method returns, contains the IBrowser object reference that matches the specified browserId, or null if no matching instance found.
Return Value
Type:
Booleantrue if a
IBrowser instance was found matching
browserId; otherwise, false.
Implements
IWebBrowserTryGetBrowserCoreById(Int32, IBrowser)See Also