WebBrowserExtensions.Find Method (IBrowser, Int32, String, Boolean, Boolean, Boolean) |
Version 94.4.20
Search for text within the current page.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 94.4.20.0 (94.4.20.0)
Syntaxpublic static void Find(
this IBrowser cefBrowser,
int identifier,
string searchText,
bool forward,
bool matchCase,
bool findNext
)
public:
[ExtensionAttribute]
static void Find(
IBrowser^ cefBrowser,
int identifier,
String^ searchText,
bool forward,
bool matchCase,
bool findNext
)
Parameters
- cefBrowser
- Type: CefSharp.IBrowser
The ChromiumWebBrowser instance this method extends. - identifier
- Type: System.Int32
Can be used in can conjunction with searchText to have multiple searches running simultaneously. - searchText
- Type: System.String
search text. - forward
- Type: System.Boolean
indicates whether to search forward or backward within the page. - matchCase
- Type: System.Boolean
indicates whether the search should be case-sensitive. - findNext
- Type: System.Boolean
indicates whether this is the first request or a follow-up.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IBrowser. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also