WholeWordsOnly

ITextSearchOptions.WholeWordsOnly 属性

设置为 true 以仅匹配完整单词,设置为 false 则相反。可读/可写布尔值。

public bool WholeWordsOnly { get; set; }

另请参见