Searches the text for occurences of given text to search.
Namespace: FirstFloor.Documents.SearchAssembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)
Syntax
| C# |
|---|
public IEnumerable<SearchMatch> SearchText( string text, string textToSearch ) |
| Visual Basic |
|---|
Public Function SearchText ( _ text As String, _ textToSearch As String _ ) As IEnumerable(Of SearchMatch) |
| Visual C++ |
|---|
public: virtual IEnumerable<SearchMatch>^ SearchText( String^ text, String^ textToSearch ) sealed |
Parameters
- text
- Type: System..::..String
The text.
- textToSearch
- Type: System..::..String
The text to search.