ITextRangeProvider.FindText(String, Boolean, Boolean) Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a text range subset that contains the specified text.
public:
 ITextRangeProvider ^ FindText(Platform::String ^ text, bool backward, bool ignoreCase);ITextRangeProvider FindText(winrt::hstring const& text, bool const& backward, bool const& ignoreCase);public ITextRangeProvider FindText(string text, bool backward, bool ignoreCase);function findText(text, backward, ignoreCase)Public Function FindText (text As String, backward As Boolean, ignoreCase As Boolean) As ITextRangeProviderParameters
- text
- 
				
				String
Platform::String winrt::hstring 
The text string to search for.
- backward
- 
				
				Boolean
bool 
true to return the last occurring text range instead of the first; otherwise, false.
- ignoreCase
- 
				
				Boolean
bool 
true to ignore case; otherwise, false.
Returns
A text range that matches the specified text; otherwise null.