Contains Method

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

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)


Public Function Contains ( _
    item As ListBoxItem _
) As Boolean
public bool Contains(
    ListBoxItem item
bool Contains(
    ListBoxItem^ item
member Contains : 
        item:ListBoxItem -> bool 
public function Contains(
    item : ListBoxItem
) : boolean


Return Value

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

.NET Framework Security

See Also


ListBoxItemCollection Class

Microsoft.SPOT.Presentation.Controls Namespace