Share via


IndexOf Method

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

Returns the index number (position) of a specified element in the current collection.

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

Syntax

'Declaration
Public Function IndexOf ( _
    element As UIElement _
) As Integer
public int IndexOf(
    UIElement element
)
public:
int IndexOf(
    UIElement^ element
)
member IndexOf : 
        element:UIElement -> int 
public function IndexOf(
    element : UIElement
) : int

Parameters

Return Value

Type: System. . :: . .Int32
The index number of the specified element in the current collection.

.NET Framework Security

See Also

Reference

UIElementCollection Class

Microsoft.SPOT.Presentation Namespace