SearchMatch.MatchedText
- Updated2025-07-21
- 1 minute(s) read
SearchMatch.MatchedText
Syntax
SearchMatch.MatchedText
Data Type
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.