ReadOnlyStringCollection.Contains(String) Méthode

Définition

Détermine si l’objet spécifié String se trouve dans cette 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

Paramètres

value
String

Objet String à rechercher dans cette collection.

Retours

truesi l’objet String se trouve dans cette collection, sinon. false

Exceptions

Le value paramètre est null.

S’applique à

Voir aussi