ISearchOptions Interface
Provides the base requirements for a class that stores options for a find/replace operation.
public interface ISearchOptions : ICloneable
Properties
FindText
The text to find.
MatchCase
Indicates whether searches should be case sensitive.
bool MatchCase { get; set; }
Property Value
- bool:
trueif searches should be case sensitive; otherwise,false.
MatchWholeWord
Indicates whether searches should only match whole words.
bool MatchWholeWord { get; set; }
Property Value
- bool:
trueif searches should only match whole words; otherwise,false.
MaximumResultCount
The maximum number of results that can be found.
PatternProvider
The search pattern provider (normal, regular expression, wildcard, etc.).
ReplaceText
The text with which to replace (replace operations only).
SearchUp
Indicates whether to search backwards.
bool SearchUp { get; set; }
Property Value
- bool:
trueif searches should be performed backwards; otherwise,false.