TempFileCollection.CopyTo(String[], Int32) 方法

定义

从指定的索引处开始,将集合的成员复制到指定的字符串。Copies the members of the collection to the specified string, beginning at the specified index.

public:
 void CopyTo(cli::array <System::String ^> ^ fileNames, int start);
public void CopyTo (string[] fileNames, int start);
member this.CopyTo : string[] * int -> unit
Public Sub CopyTo (fileNames As String(), start As Integer)

参数

fileNames
String[]

要复制到的字符串数组。The array of strings to copy to.

start
Int32

数组索引,从此处开始复制。The index of the array to begin copying to.

适用于