MCPcopy Create free account
hub / github.com/MicrosoftEdge/WebView2Samples / FindNext

Method FindNext

SampleApps/WebView2APISample/AppWindow.cpp:1457–1466  ·  view source on GitHub ↗

[FindNext]

Source from the content-addressed store, hash-verified

1455
1456//! [FindNext]
1457bool AppWindow::FindNext()
1458{
1459 auto webView2_28 = m_webView.try_query<ICoreWebView2_28>();
1460 CHECK_FEATURE_RETURN(webView2_28);
1461 wil::com_ptr<ICoreWebView2Find> webView2find;
1462 CHECK_FAILURE(webView2_28->get_Find(&webView2find));
1463 CHECK_FAILURE(webView2find->FindNext());
1464
1465 return true;
1466}
1467//! [FindNext]
1468
1469//! [FindPrevious]

Callers 1

FindNextExecutedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected