共用方式為


DeviceCollection.CopyTo(DeviceInfo[], Int32) Method

Definition

Copies the collection to an array, starting to write at the specified array index.

public void CopyTo (Microsoft.PointOfService.DeviceInfo[] array, int index);
member this.CopyTo : Microsoft.PointOfService.DeviceInfo[] * int -> unit
Public Sub CopyTo (array As DeviceInfo(), index As Integer)

Parameters

array
DeviceInfo[]

An array to copy the objects in the collection to.

index
Int32

The index of the array at which copying should begin.

Applies to