Share via


ListBoxItemCollection.Contains Method

Determines whether a specified item (element) is contained in the current collection.

Namespace: Microsoft.SPOT.Presentation.Controls
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public bool Contains (
         ListBoxItemitem
)

Parameters

  • item
    The item you want to search for in the current collection.

Return Value

true if the specified item is a member of the current collection; otherwise, false.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

ListBoxItemCollection Class
ListBoxItemCollection Members
Microsoft.SPOT.Presentation.Controls Namespace