TableCellCollection.IList.Contains(Object) 方法

定義

判斷指定的物件是否包含在集合中。

 virtual bool System.Collections.IList.Contains(System::Object ^ o) = System::Collections::IList::Contains;
bool IList.Contains (object o);
abstract member System.Collections.IList.Contains : obj -> bool
override this.System.Collections.IList.Contains : obj -> bool
Function Contains (o As Object) As Boolean Implements IList.Contains

參數

o
Object

要在集合中尋找的物件。

傳回

如果物件包含在集合裡,則為 true,否則為 false

實作

備註

方法是 IList.Contains 明確的介面成員實作。 只有在 TableCellCollection 執行個體轉換成 IList 介面時,才能使用這個成員。

適用於

另請參閱