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);
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

String . 中查找的StringValues

返回

如果在 /> 中找到,则为 ;否则为 >。

实现

适用于