StringList.Contains(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the list contains a specific string.
public:
bool Contains(System::String ^ s);
public bool Contains (string s);
Public Function Contains (s As String) As Boolean
Parameters
- s
- String
The string to check the presence of.
Returns
True if s is present in the list, false otherwise.