GridColumnStylesCollection.IList.Contains(Object) GridColumnStylesCollection.IList.Contains(Object) GridColumnStylesCollection.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 the element is in the collection; otherwise, false.

实现

适用于