Find.MatchWholeWord Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if the find operation locates only entire words and not text that's part of a larger word.
public:
property bool MatchWholeWord { bool get(); void set(bool value); };
public bool MatchWholeWord { get; set; }
member this.MatchWholeWord : bool with get, set
Public Property MatchWholeWord As Boolean
Property Value
Remarks
This property returns True if the find operation locates only entire words and not text that's part of a larger word, and False if not. Set the property value to True or False to enable or disable the functionality.
Use the Text property of the Find object or the FindText
argument with the Execute(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) method to specify the text to be located in a document.