'Declaration Public MustOverride Function Find( _
ByVal sourceStringSource string (text of page) where text must be searched.As System.String, _
ByVal startIndexThe zero-based index, in the sourceString, from which text must be searched.As System.Int32, _
ByVal lengthThe number of characters, in the sourceString, to analyze.As System.Int32, _
ByVal rightToLeftA value indicating whether the text should be searched from right to left.As Boolean _
) As TextSearchResult
public abstract TextSearchResult Find(
System.String sourceString,
System.Int32 startIndex,
System.Int32 length,
bool rightToLeft
)
public: abstract TextSearchResult* Find(
System.String sourceString,
System.Int32 startIndex,
System.Int32 length,
bool rightToLeft
)
public:
abstract TextSearchResult^ Find(
System.String sourceString,
System.Int32 startIndex,
System.Int32 length,
bool rightToLeft
)
Parameters
- sourceString
- Source string (text of page) where text must be searched.
- startIndex
- The zero-based index, in the sourceString, from which text must be searched.
- length
- The number of characters, in the sourceString, to analyze.
- rightToLeft
- A value indicating whether the text should be searched from right to left.
Return Value
TextSearchResult object that contains information about searched text if text is found; otherwise, null.