PageClientSearchInResourceAsync Method |
Version 87.1.132
Searches for given string in resource content.
Namespace:
CefSharp.DevTools.Page
Assembly:
CefSharp (in CefSharp.dll) Version: 87.1.132.0 (87.1.132.0)
Syntax public Task<SearchInResourceResponse> SearchInResourceAsync(
string frameId,
string url,
string query,
Nullable<bool> caseSensitive = null,
Nullable<bool> isRegex = null
)
public:
Task<SearchInResourceResponse^>^ SearchInResourceAsync(
String^ frameId,
String^ url,
String^ query,
Nullable<bool> caseSensitive = nullptr,
Nullable<bool> isRegex = nullptr
)
Parameters
- frameId
- Type: SystemString
Frame id for resource to search in. - url
- Type: SystemString
URL of the resource 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:
TaskSearchInResourceResponsereturns System.Threading.Tasks.Task<SearchInResourceResponse>
See Also