Share via


SourceText.CopyTo(Int32, Char[], Int32, Int32) 方法

定义

将此 SourceText 中的字符范围复制到目标数组。

public:
 abstract void CopyTo(int sourceIndex, cli::array <char> ^ destination, int destinationIndex, int count);
public abstract void CopyTo (int sourceIndex, char[] destination, int destinationIndex, int count);
abstract member CopyTo : int * char[] * int * int -> unit
Public MustOverride Sub CopyTo (sourceIndex As Integer, destination As Char(), destinationIndex As Integer, count As Integer)

参数

sourceIndex
Int32
destination
Char[]
destinationIndex
Int32
count
Int32

适用于