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 the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.
See Also
Reference
ListBoxItemCollection Class
ListBoxItemCollection Members
Microsoft.SPOT.Presentation.Controls Namespace