語言

PrinterSettings.PaperSourceCollection.CopyTo(PaperSource[], Int32) 方法

定義

將當前 PrinterSettings.PaperSourceCollection 資料的內容從指定的索引開始複製到指定陣列。

public:
 void CopyTo(cli::array <System::Drawing::Printing::PaperSource ^> ^ paperSources, int index);
public void CopyTo(System.Drawing.Printing.PaperSource[] paperSources, int index);
member this.CopyTo : System.Drawing.Printing.PaperSource[] * int -> unit
Public Sub CopyTo (paperSources As PaperSource(), index As Integer)

參數

paperSources
PaperSource[]

一個以零為基礎的陣列,接收從 PrinterSettings.PaperSourceCollection中複製的項目。

index
Int32

從哪裡開始複製項目。

適用於