Export (0) Print
Expand All

AutoCompleteStringCollection.Contains Method

Indicates whether the String exists within the collection.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public bool Contains(
	string value


Type: System.String

The String for which to search.

Return Value

Type: System.Boolean
true if the String exists within the collection; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft