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)
Syntax
'Declaration
Public Function Contains ( _
item As ListBoxItem _
) As Boolean
public bool Contains(
ListBoxItem item
)
public:
bool Contains(
ListBoxItem^ item
)
member Contains :
item:ListBoxItem -> bool
public function Contains(
item : ListBoxItem
) : boolean
Parameters
- item
Type: Microsoft.SPOT.Presentation.Controls. . :: . .ListBoxItem
The item you want to search for in the current collection.
Return Value
Type: System. . :: . .Boolean
true if the specified item is a member of the current collection; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.