PrinterSettings.PrinterResolutionCollection.CopyTo 方法

定义

将当前 PrinterSettings.PrinterResolutionCollection 的内容复制到指定数组,从指定索引处开始。

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

参数

printerResolutions
PrinterResolution[]

从零开始的数组,它接收从 PrinterSettings.PrinterResolutionCollection 复制来的项。

index
Int32

开始复制项的索引。

适用于