Insert Method

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

Inserts a specified element into the current collection at a specified index number (position).

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

Syntax

'Declaration
Public Sub Insert ( _
    index As Integer, _
    element As UIElement _
)
public void Insert(
    int index,
    UIElement element
)
public:
void Insert(
    int index, 
    UIElement^ element
)
member Insert : 
        index:int * 
        element:UIElement -> unit 
public function Insert(
    index : int, 
    element : UIElement
)

Parameters

  • index
    Type: System. . :: . .Int32
    The index number in the current collection where you want to insert the specified element.

.NET Framework Security

See Also

Reference

UIElementCollection Class

Microsoft.SPOT.Presentation Namespace