Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

aed88786 ec77 ea8e f28d 529c6eb55814

haplokuon edited this page May 6, 2023 · 1 revision

CopyTo Method

netDxf 3.0.0 Library

Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.

Definition

Namespace: netDxf.Collections
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public void CopyTo(
	EntityObject[] array,
	int arrayIndex
)

VB

Public Sub CopyTo ( 
	array As EntityObject(),
	arrayIndex As Integer
)

C++

public:
virtual void CopyTo(
	array<EntityObject^>^ array, 
	int arrayIndex
) sealed

F#

abstract CopyTo : 
        array : EntityObject[] * 
        arrayIndex : int -> unit 
override CopyTo : 
        array : EntityObject[] * 
        arrayIndex : int -> unit 

Parameters

  EntityObject[]
The one-dimensional System.Array that is the destination of the elements copied from the collection. The System.Array must have zero-based indexing.
  Int32
The zero-based index in array at which copying begins.

Implements

ICollection(T).CopyTo(T[], Int32)

See Also

Reference

EntityCollection Class
netDxf.Collections Namespace

Clone this wiki locally