public int FindInSpan(
string ,
Infragistics.Documents.RichText.DocumentSpan ,
out string ,
Infragistics.Documents.RichText.FindCriteria
)
'Declaration
Public Function FindInSpan( _
ByVal As String, _
ByVal As Infragistics.Documents.RichText.DocumentSpan, _
ByRef As String, _
Optional ByVal As Infragistics.Documents.RichText.FindCriteria _
) As Integer
Parameters
- textToFind
- The text to find.
- spanToSearch
- The Infragistics.Documents.RichText.DocumentSpan within which to search for the text.
- error
- An error message if an error was encountered.
- findCriteria
- The Infragistics.Documents.RichText.FindCriteria to use for the operation.
Return Value
The number of occurrences of the specified text found.
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