Skip to content

Commit e66ba7a

Browse files
authored
deleted usage example from the api def
1 parent 87f7dba commit e66ba7a

1 file changed

Lines changed: 1 addition & 19 deletions

File tree

FindOnPage.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ namespace Microsoft.Web.WebView2.Core
395395
}
396396
```
397397

398-
### CoreWebView2 Find Interface and Usage
398+
### CoreWebView2 Find Interface
399399

400400
```csharp
401401
namespace Microsoft.Web.WebView2.Core
@@ -437,24 +437,6 @@ namespace Microsoft.Web.WebView2.Core
437437
{
438438
CoreWebView2FindConfiguration CreateFindConfiguration();
439439
};
440-
441-
442-
// Example usage:
443-
public async Task PerformFindOperationAsync(ICoreWebView2Find webViewFind)
444-
{
445-
var findConfig = new CoreWebView2FindConfiguration
446-
{
447-
FindTerm = "example",
448-
FindDirection = CoreWebView2FindDirection.Forward,
449-
IsCaseSensitive = false,
450-
ShouldMatchWord = true
451-
};
452-
453-
await webViewFind.StartFindAsync(findConfig);
454-
await webViewFind.FindNextAsync();
455-
await webViewFind.FindNextAsync();
456-
await webViewFind.StopFindAsync();
457-
}
458440
}
459441
```
460442

0 commit comments

Comments
 (0)