Skip to content

Commit 4257d86

Browse files
authored
Update FindOnPage.md
removed Async from getactivematchindex
1 parent 571626f commit 4257d86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FindOnPage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ within a WebView2 control using the `ActiveMatchIndex` property.
242242
```
243243
#### .NET C#
244244
```csharp
245-
public async Task<int> GetActiveMatchIndexAsync()
245+
public Task<int> GetActiveMatchIndex()
246246
{
247247
var webViewFind = webView.CoreWebView2.Find; // Assuming webView is your WebView2 control
248248
var activeMatchIndex = webViewFind.ActiveMatchIndex();

0 commit comments

Comments
 (0)