Partager via


Find.MatchCase Property

Determines if the find operation is case-sensitive.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

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

value = instance.MatchCase

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

Property Value

Type: System.Boolean

Remarks

This property returns True if the find operation is case-sensitive, and False if not. The default value is False. Set the property value to True or False to enable or disable the functionality.

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