Språk

PrinterSettings.PaperSourceCollection.CopyTo(PaperSource[], Int32) Metod

Definition

Kopierar innehållet i den aktuella PrinterSettings.PaperSourceCollection till den angivna matrisen med början vid det angivna indexet.

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)

Parametrar

paperSources
PaperSource[]

En nollbaserad matris som tar emot de objekt som kopierats från PrinterSettings.PaperSourceCollection.

index
Int32

Det index där objekt ska börja kopieras.

Gäller för