Share via


DeviceCollection.CopyTo Method

2/27/2008

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

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As DeviceInfo(), _
    index As Integer _
)
public void CopyTo (
    DeviceInfo[] array,
    int index
)
public:
void CopyTo (
    array<DeviceInfo^>^ array, 
    int index
)
public void CopyTo (
    DeviceInfo[] array, 
    int index
)
public function CopyTo (
    array : DeviceInfo[], 
    index : int
)

Parameters

  • array
    An array to copy the objects in the collection to.
  • index
    The index of the array at which copying should begin.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

DeviceCollection Class
DeviceCollection Members
Microsoft.PointOfService Namespace