Partager via


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)

Syntax

'Declaration
Property MatchWildcards As Boolean
    Get
    Set
'Usage
Dim instance As Find
Dim value As Boolean

value = instance.MatchWildcards

instance.MatchWildcards = value
bool MatchWildcards { get; set; }

Property Value

Type: System.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.

See Also

Reference

Find Interface

Find Members

Microsoft.Office.Interop.Word Namespace