AutoCompleteStringCollection::Contains Method (String^)

 

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
)

Parameters

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
Available since 2.0
Return to top
Show: