Méthode System::String::Contains

String::Contains(char16_t) const method

Vérifie si la chaîne contient le caractère donné.

bool System::String::Contains(char16_t value) const
ParamètreTypeDescription
valuechar16_tRecherche du caractère.

ReturnValue

true si le caractère est présent, false sinon.

Voir aussi

String::Contains(const String&) const method

Vérifie si str est une sous‑chaîne de la chaîne actuelle.

bool System::String::Contains(const String &str) const
ParamètreTypeDescription
strconst String&Chaîne de recherche.

ReturnValue

true si la sous-chaîne est présente, false sinon.

Voir aussi