TraceListenerCollection.IList.Contains(Object) 方法

定義

判斷 TraceListenerCollection 是否含有特定物件。

 virtual bool System.Collections.IList.Contains(System::Object ^ value) = System::Collections::IList::Contains;
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

要在 TraceListenerCollection 中尋找的物件。

傳回

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

實作

備註

Contains使用 類別的 TraceListenerCollection 方法,判斷集合是否包含特定TraceListener物件。

適用於