Edit

Bagikan melalui


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

Definition

Copies the contents of the current PrinterSettings.PaperSourceCollection to the specified array, starting at the specified index.

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)

Parameters

paperSources
PaperSource[]

A zero-based array that receives the items copied from the PrinterSettings.PaperSourceCollection.

index
Int32

The index at which to start copying items.

Applies to