Collection.IList.Contains Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines whether the Collection object contains a specific value. Implements the IList interface.

Namespace:   Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

bool IList.Contains(
	object value
)

Parameters

value
Type: System.Object

The Object to locate in the Collection object.

Return Value

Type: System.Boolean

Returns True if the Object is found in the Collection object; otherwise, False.

This method determines whether the Collection object contains a specific value.

Return to top
Show: