Wimark.Controls Class Library  

RichTextBox.Find(Char[]) Method

Searches the text of a RichTextBox control for the first instance of a character from a list of characters.

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

Parameters

characterSet
The array of characters to search for.

Return Value

The location within the control where the search characters were found or a negative one (-1) if the search characters are not found or an empty search character set is specified in the char parameter.

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