다음을 통해 공유


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 (
         Objectvalue
)

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, and 4.1.

See Also

Reference

Array Class
Array Members
System Namespace