共用方式為


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

實作

適用於