共用方式為


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

適用於