Share via


CopyTo Method

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

Copies a specified portion of the current text run collection into a specified array.

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

Syntax

'Declaration
Public Sub CopyTo ( _
    array As Array, _
    index As Integer _
)
public void CopyTo(
    Array array,
    int index
)
public:
virtual void CopyTo(
    Array^ array, 
    int index
) sealed
abstract CopyTo : 
        array:Array * 
        index:int -> unit 
override CopyTo : 
        array:Array * 
        index:int -> unit 
public final function CopyTo(
    array : Array, 
    index : int
)

Parameters

  • array
    Type: System. . :: . .Array
    The array into which the specified text run objects are to be copied.
  • index
    Type: System. . :: . .Int32
    The index number of the first text run object to be copied into the array specified by the array parameter. This index number indicates the position in the text run collection where copying is to begin.

Implements

ICollection. . :: . .CopyTo(Array, Int32)

.NET Framework Security

See Also

Reference

TextRunCollection Class

Microsoft.SPOT.Presentation.Controls Namespace