DebuggerClientSearchInContentAsync Method |
Version 100.0.140
Searches for given string in script content.
Namespace:
CefSharp.DevTools.Debugger
Assembly:
CefSharp (in CefSharp.dll) Version: 100.0.140.0 (100.0.140.0)
Syntax public Task<SearchInContentResponse> SearchInContentAsync(
string scriptId,
string query,
bool? caseSensitive = null,
bool? isRegex = null
)
public:
Task<SearchInContentResponse^>^ SearchInContentAsync(
String^ scriptId,
String^ query,
Nullable<bool> caseSensitive = nullptr,
Nullable<bool> isRegex = nullptr
)
Parameters
- scriptId
- Type: SystemString
Id of the script to search in. - query
- Type: SystemString
String to search for. - caseSensitive (Optional)
- Type: SystemNullableBoolean
If true, search is case sensitive. - isRegex (Optional)
- Type: SystemNullableBoolean
If true, treats string parameter as regex.
Return Value
Type:
TaskSearchInContentResponsereturns System.Threading.Tasks.Task<SearchInContentResponse>
See Also