Find.MatchWildcards Property
Determines if the text to find contains wildcards.
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.MatchWildcards
Dim sampleValue As Boolean
find1.MatchWildcards = sampleValue
Syntax
Property MatchWildcards() As Boolean
bool MatchWildcards {get; set;}
property Boolean MatchWildcards{
Boolean get();
Void set(Boolean);
}
public boolean get_MatchWildcards();
public void set_MatchWildcards(boolean);
function get MatchWildcards() : Boolean;
function set MatchWildcards(Boolean);
Remarks
This property returns True if the text to find contains wildcards, and False if not. Set the property value to True or False to enable or disable the functionality.
Corresponds to the Use wildcards check box in the Find and Replace dialog box (Edit menu).
Use the Text property of the Find object or use 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