Partager via


System.Collections.IList.Contains Method

Determines whether a specified object is contained in a specific array.

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

Syntax

bool System.Collections.IList.Contains (
         Object value
)

Parameters

  • value
    The object you want to find in the array. This object can be a null reference.

Return Value

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

Version Information

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

See Also

Reference

Array Class
Array Members
System Namespace