SearchOptions

SearchOptions class

Provides the options which are used for text search.

public sealed class SearchOptions

Constructors

Name Description
SearchOptions() Initializes a new instance of the SearchOptions class with default values. See remarks for details.
SearchOptions(bool, bool, bool) Initializes a new instance of the SearchOptions class which is used to search without highlight extraction.
SearchOptions(bool, bool, bool, bool) Initializes a new instance of the SearchOptions class which is used to search by pages and without highlight extraction.
SearchOptions(bool, bool, bool, HighlightOptions) Initializes a new instance of the SearchOptions class which is used to search with the same highlight options for the left and the right highlight extraction.
SearchOptions(bool, bool, bool, HighlightOptions, HighlightOptions) Initializes a new instance of the SearchOptions class which is used to search with the highlight options for the left and the right highlight extraction.
SearchOptions(bool, bool, bool, bool, HighlightOptions, HighlightOptions) Initializes a new instance of the SearchOptions class.

Properties

Name Description
LeftHighlightOptions { get; } Gets the options for the left highlight.
MatchCase { get; } Gets the value that indicates whether a text case isn’t ignored.
MatchWholeWord { get; } Gets the value that indicates whether text search is limited by a whole word.
RightHighlightOptions { get; } Gets the options for the right highlight.
SearchByPages { get; } Gets the value that indicates whether the search is performed by pages.
UseRegularExpression { get; } Gets the value that indicates whether a regular expression is used.

Remarks

An instance of SearchOptions class is used as parameter in Search method. See the usage examples there.

Learn more:

See Also