Windows apps
Collapse the table of content
Expand the table of content

Contains Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Determines whether the IList contains a specific value.

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

bool Contains(
	Object^ value
)

Parameters

value
Type: System..::..Object
The object to locate in the IList.

Return Value

Type: System..::..Boolean
true if the Object is found in the IList; otherwise, false.

Show:
© 2017 Microsoft