Contains Method

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

Determines whether the current collection contains a specified element.

Namespace:  Microsoft.SPOT.Presentation
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Function Contains ( _
    element As UIElement _
) As Boolean
public bool Contains(
    UIElement element
)
public:
bool Contains(
    UIElement^ element
)
member Contains : 
        element:UIElement -> bool 
public function Contains(
    element : UIElement
) : boolean

Parameters

Return Value

Type: System. . :: . .Boolean
true if the specified element was found in the current collection; otherwise, false.

.NET Framework Security

See Also

Reference

UIElementCollection Class

Microsoft.SPOT.Presentation Namespace