The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

SubDocument.StartSearch Method

Name Parameters Description
StartSearch(Regex) regex

Provides a search interface for a search in the document, using a regular expression pattern.

StartSearch(Regex, DocumentRange) regex, range

Provides a search interface for a search in the specified range using a regular expression pattern.

StartSearch(String) textToFind

Provides a search interface with default parameters.

StartSearch(String, SearchOptions, SearchDirection) textToFind, options, direction

Provides a search interface for a search in the current document in the specified direction, using the specified options.

StartSearch(String, SearchOptions, SearchDirection, DocumentRange) textToFind, options, direction, range

Provides a search interface for a search in the specified range in the specified direction, using the specified options.