SearchMatch.MatchedText

Syntax

SearchMatch.MatchedText

Data Type

String

Purpose

Returns the text string which contains the match. Use the SearchMatch.GetLocation method to determine which element of the property the string is from.

Remarks

Use the SearchMatch.UpdateForReplace method to alter the matched text. Use the SearchMatch.UpdateForReplaceValue method to alter the value of the property in which the match was found.

See Also

SearchMatch.GetLocation

SearchMatch.UpdateForReplace

SearchMatch.UpdateForReplaceValue