共用方式為


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

要從其開始複製項目的索引。

適用於