Edit

Share via


ListItemCollection.IList.Contains(Object) Method

Definition

For a description of this member, see Contains(Object).

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

Parameters

item
Object

The Object to locate in the IList.

Returns

true if the Object is found in the IList; otherwise, false.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ListItemCollection instance is cast to an IList interface.

Applies to

See also