Wimark.Controls Class Library  

RichTextBox.Find(Char[], Int32) Method

Searches the text of a RichTextBox control, at a specific starting point, for the first instance of a character from a list of characters.

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

Parameters

characterSet
The array of characters to search for.
start
The location within the control's text at which to begin searching.

Return Value

The location within the control where the search characters are found.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

RichTextBox Class | RichTextBox Members | Wimark.Controls Namespace