Redigera

Dela via


AutoCompleteStringCollection.Contains(String) Method

Definition

Indicates whether the String exists within the collection.

public:
 bool Contains(System::String ^ value);
public bool Contains (string value);
member this.Contains : string -> bool
Public Function Contains (value As String) As Boolean

Parameters

value
String

The String for which to search.

Returns

true if the String exists within the collection; otherwise, false.

Applies to