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 text run object at a specified position (index number) in the current text run collection.
Namespace: Microsoft.SPOT.Presentation.Controls
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Sub Insert ( _
index As Integer, _
run As TextRun _
)
public void Insert(
int index,
TextRun run
)
public:
void Insert(
int index,
TextRun^ run
)
member Insert :
index:int *
run:TextRun -> unit
public function Insert(
index : int,
run : TextRun
)
Parameters
- index
Type: System. . :: . .Int32
The index number in the collection where the specified text run object is to be inserted.
- run
Type: Microsoft.SPOT.Presentation.Controls. . :: . .TextRun
The object to be inserted into the 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.