This documentation is archived and is not being maintained.

ListBox.NoMatches Field

Specifies that no matches are found during a search.

[Visual Basic]
Public Const NoMatches As Integer
public const int NoMatches;
public: const int NoMatches;
public var NoMatches : int;


This constant is returned by the FindString, FindStringExact, and IndexFromPoint methods when no matching values are found in a search.


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

See Also

ListBox Class | ListBox Members | System.Windows.Forms Namespace