DebuggerClientSearchInContentAsync Method |
Version 112.3.0
Searches for given string in script content.
Namespace:
CefSharp.DevTools.Debugger
Assembly:
CefSharp.Core (in CefSharp.Core.dll) Version: 112.3.0.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