IList.Contains Method

When implemented by a class, this method determines whether the IList collection contains a specified object.

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)

Syntax

public bool Contains (
         Objectvalue
)

Parameters

  • value
    The object you want to search for in the collection.

Return Value

true if the specified object was found in the IList collection; otherwise, false.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

IList Interface
IList Members
System.Collections Namespace