GridTableStylesCollection.IList.Contains(Object) GridTableStylesCollection.IList.Contains(Object) GridTableStylesCollection.IList.Contains(Object) Method

定義

判斷項目是否在集合中。Determines whether an element is in the collection.

 virtual bool System.Collections.IList.Contains(System::Object ^ value) = System::Collections::IList::Contains;
bool IList.Contains (object value);
Function Contains (value As Object) As Boolean Implements IList.Contains

參數

value
Object Object Object

要在集合中找出的物件。The object to locate in the collection. 這個值可以是 nullThe value can be null.

傳回

如果在集合中找到值,則為 true,否則為 falsetrue if value is found in the collection; otherwise, false.

實作

適用於