'Declaration Public Shared Function Find( _ ByVal searchRange As RangeBase, _ ByVal findPattern As System.String, _ Optional ByVal options As FindOptions _ ) As System.Collections.Generic.IEnumerable(Of FindResult)
public static System.Collections.Generic.IEnumerable<FindResult> Find( RangeBase searchRange, System.string findPattern, FindOptions options )
Parameters
- searchRange
- The current range.
- findPattern
- The search pattern. May contain regular expressions, or be an empty string.
If empty, the search will be for any text with formatting that matches the FindOptions.FormattingOptions passed in options.
- options
- The search and replace options.
Return Value
The list of found occurrences.