Redigera

Dela via


ModelItemCollection.IList.Contains(Object) Method

Definition

Determines whether the ModelItemCollection contains the specified element.

 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

Parameters

value
Object

The object to locate in the ModelItemCollection.

Returns

true if the ModelItemCollection contains an element that has the specified value; otherwise, false.

Implements

Exceptions

value is null.

Applies to