CaptureCollection.ICollection<Capture>.Contains(Capture) 方法

定义

确定集合中是否包含特定值。

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

参数

item
Capture

要在集合中定位的对象。

返回

Boolean

如果在集合中找到了 item,则为 true;否则为 false

实现

适用于