Finds an instance of text in the span that matches the search criteria.
Parameters
- criteria
- The search criteria
- startOffset
- The start offset relative to the beginning of the document.
- wrapIfNotFound
- if true continue the search by wrapping if the end is reached without a match.
- spanToSearch
- An optional span to limit the search to.
Return Value
A
TextSearchResultInfo object containing the results of the operation.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2