TextElementCollection<TextElementType>.Contains(TextElementType) 方法

定義

查詢集合中是否存在指定的項目。

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

參數

item
TextElementType

要查詢是否存在於集合中的項目。

傳回

如果集合中有指定的「項目」,則為 true;否則為 false

實作

適用於