Add Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Adds a specified element to 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 Function Add ( _
element As UIElement _
) As Integer
public int Add(
UIElement element
)
public:
int Add(
UIElement^ element
)
member Add :
element:UIElement -> int
public function Add(
element : UIElement
) : int
Parameters
- element
Type: Microsoft.SPOT.Presentation. . :: . .UIElement
The element to be added to the current collection.
Return Value
Type: System. . :: . .Int32
The index number where the specified element was added to the current collection.
.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.