ListBox.NoMatches Field

Definition

Specifies that no matches are found during a search.

public const int NoMatches = -1;

Field Value

Value = -1

Remarks

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

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9