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

开始复制项的索引。

适用于