Share via


Item Property

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

Gets or sets the element that is stored at a specified index number (position) in the current collection.

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

Syntax

'Declaration
Public Property Item ( _
    index As Integer _
) As UIElement
public UIElement this[
    int index
] { get; set; }
public:
property UIElement^ Item[int index] {
    UIElement^ get (int index);
    void set (int index, UIElement^ value);
}
member Item : 
        index:int -> UIElement with get, set
JScript does not support indexed properties.

Parameters

  • index
    Type: System. . :: . .Int32
    The index number in the current collection whose corresponding element you want to retrieve.

Property Value

Type: Microsoft.SPOT.Presentation. . :: . .UIElement
The UIElement object that represents the element stored at the specified index number in the current collection.

.NET Framework Security

See Also

Reference

UIElementCollection Class

Microsoft.SPOT.Presentation Namespace