Share via


Find.MatchAllWordForms Property 

Determines if all forms of the text to find are found by the find operation (for instance, if the text to find is "sit," "sat" and "sitting" are found as well).

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.MatchAllWordForms

Dim sampleValue As Boolean
find1.MatchAllWordForms = sampleValue

Syntax

Property MatchAllWordForms() As Boolean
bool MatchAllWordForms {get; set;}
property Boolean MatchAllWordForms{
    Boolean get();
    Void set(Boolean);
}
public boolean get_MatchAllWordForms();
public void set_MatchAllWordForms(boolean);
function get MatchAllWordForms() : Boolean;
function set MatchAllWordForms(Boolean);

Remarks

This property returns True if all forms of the text to find are found by the find operation (for instance, if the text to find is "sit," "sat" and "sitting" are found as well), 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 searched for 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

Other Resources

Find Members