Find.MatchWholeWord Property
Determines if the find operation locates only entire words and not text that's part of a larger word.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim find1 As Find
Dim returnValue As Boolean
returnValue = find1.MatchWholeWord
Dim sampleValue As Boolean
find1.MatchWholeWord = sampleValue
Syntax
Property MatchWholeWord() As Boolean
bool MatchWholeWord {get; set;}
property Boolean MatchWholeWord{
Boolean get();
Void set(Boolean);
}
public boolean get_MatchWholeWord();
public void set_MatchWholeWord(boolean);
function get MatchWholeWord() : Boolean;
function set MatchWholeWord(Boolean);
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 method to specify the text to be located in a document.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Find Interface
Microsoft.Office.Interop.Word Namespace