System::Collections::Specialized::StringCollection::Contains 方法

StringCollection::Contains method

检查容器中是否存在特定字符串。

bool System::Collections::Specialized::StringCollection::Contains(const System::String &value) const
参数类型描述
valueconst System::String&String 要查找的字符串。

ReturnValue

如果找到字符串则为 true,否则为 false。

另见