StringValues.ICollection<String>.Contains(String) 方法

定义

确定某字符串是否位于 StringValues 中。

 virtual bool System.Collections.Generic.ICollection<System.String>.Contains(System::String ^ item) = System::Collections::Generic::ICollection<System::String ^>::Contains;
bool ICollection<string>.Contains (string item);
bool ICollection<string>.Contains (string? item);
abstract member System.Collections.Generic.ICollection<System.String>.Contains : string -> bool
override this.System.Collections.Generic.ICollection<System.String>.Contains : string -> bool
Function Contains (item As String) As Boolean Implements ICollection(Of String).Contains

参数

item
String

要在 StringValues 中定位的字符串。

返回

Boolean

如果在 true 中找到 item,则为 StringValues;否则为 false

实现

适用于