Share 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)

Usage

Dim find1 As Find

Dim returnValue As Boolean
returnValue = find1.MatchCase

Dim sampleValue As Boolean
find1.MatchCase = sampleValue

Syntax

Property MatchCase() As Boolean
bool MatchCase {get; set;}
property Boolean MatchCase{
    Boolean get();
    Void set(Boolean);
}
public boolean get_MatchCase();
public void set_MatchCase(boolean);
function get MatchCase() : Boolean;
function set MatchCase(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.

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