NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RichTextBox.Find (Char[], Int32, Int32)

Searches the text in a RichTextBox control for the giving characters.

[Visual Basic]
Overloads Public Function Find( _
   ByVal characterSet() As Char, _
   ByVal start As Integer, _
   ByVal end As Integer _
) As Integer
[C#]
public int Find(
   char[] characterSet,
   int start,
   int end
);
[C++]
public: int Find(
   __wchar_t* characterSet[],
   int start,
   int end
);
[JScript]
public function Find(
   characterSet : Char[],
   start : int,
   end : int
) : int;

Parameters

characterSet
Characters to search for
start
Offset to start
end
Offset to end

Return Value

an integer offset where the match was found or-1 if failed.

See Also

RichTextBox Class | RichTextBox Members | System.WinForms Namespace | RichTextBox.Find Overload List