TextElementCollection<TextElementType>.Contains(TextElementType) Méthode
Définition
Recherche la présence d'un élément spécifié dans la collection.Queries for the presence of a specified item in the collection.
public:
virtual bool Contains(TextElementType item);
public bool Contains (TextElementType item);
abstract member Contains : 'extElementType -> bool
override this.Contains : 'extElementType -> bool
Public Function Contains (item As TextElementType) As Boolean
Paramètres
- item
- TextElementType
Élément dont la présence est à rechercher dans la collection.An item to query for the presence of in the collection.
Retours
true
si l’élément spécifié est présent dans la collection ; sinon, false
.true
if the specified item is present in the collection; otherwise, false
.