Searches the text for occurences of given text to search.

Namespace: FirstFloor.Documents.Search
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)

Syntax

C#
IEnumerable<SearchMatch> SearchText(
	string text,
	string textToSearch
)
Visual Basic
Function SearchText ( _
	text As String, _
	textToSearch As String _
) As IEnumerable(Of SearchMatch)
Visual C++
IEnumerable<SearchMatch>^ SearchText(
	String^ text, 
	String^ textToSearch
)

Parameters

text
Type: System..::..String
The text.
textToSearch
Type: System..::..String
The text to search.

Return Value

A collection of search matches.

See Also