System::String::Contains-methode

String::Contains(char16_t) const method

Controleert of de string het opgegeven teken bevat.

bool System::String::Contains(char16_t value) const
ParameterTypeBeschrijving
valuechar16_tZoekteken.

ReturnValue

true als teken aanwezig is, false anders.

Zie ook

String::Contains(const String&) const method

Controleert of str een substring is van de huidige string.

bool System::String::Contains(const String &str) const
ParameterTypeBeschrijving
strconst String&Zoekstring.

ReturnValue

true als substring aanwezig is, false anders.

Zie ook