ArrangedElementCollection.IList.Contains(Object) 方法

定義

如需這個成員的描述,請參閱 Contains(Object) 方法。

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

參數

value
Object

要在 IList 中尋找的 Object

傳回

Boolean

如果在 IList 中找到 Object,則為 true,否則為 false

實作

備註

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

適用於