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 (String)

Searches the text in a RichTextBox control for a given string.

[Visual Basic]
Overloads Public Function Find( _
   ByVal str As String _
) As Integer
[C#]
public int Find(
   string str
);
[C++]
public: int Find(
   String* str
);
[JScript]
public function Find(
   str : String
) : int;

Parameters

str
String to search for

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