System::Collections::Specialized::StringCollection::Contains‑metod

StringCollection::Contains method

Kontrollerar om en specifik sträng finns i behållaren.

bool System::Collections::Specialized::StringCollection::Contains(const System::String &value) const
ParameterTypeBeskrivning
valueconst System::String&String att söka efter.

ReturnValue

Sant om strängen hittas, falskt annars.

Se även