Share via


Add Method (TextRun)

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

Adds a TextRun object (string) to the current text run collection.

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

Syntax

'Declaration
Public Function Add ( _
    textRun As TextRun _
) As Integer
public int Add(
    TextRun textRun
)
public:
int Add(
    TextRun^ textRun
)
member Add : 
        textRun:TextRun -> int 
public function Add(
    textRun : TextRun
) : int

Parameters

Return Value

Type: System. . :: . .Int32
The index number of the specified string added to the text run collection.

.NET Framework Security

See Also

Reference

TextRunCollection Class

Add Overload

Microsoft.SPOT.Presentation.Controls Namespace