Collection.IList.Contains Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Determines whether the Collection object contains a specific value. Implements the IList interface.
Namespace: Microsoft.VisualBasic
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Syntax
'Declaration
Private Function IListContains ( _
value As Object _
) As Boolean Implements IList.Contains
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.
Implements
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.