Share via


CaptureCollection.ICollection<Capture>.Contains(Capture) Méthode

Définition

Détermine si la collection contient une valeur spécifique.

 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

Paramètres

item
Capture

Objet à localiser dans la collection.

Retours

Boolean

true si item est trouvé dans la collection ; sinon, false.

Implémente

S’applique à