TypeElementCollection.CopyTo(TypeElement[], Int32) Method

Definition

Copies the elements from the collection to an array, starting at a specified index of the array.

public:
 void CopyTo(cli::array <System::Web::Services::Configuration::TypeElement ^> ^ array, int index);
public void CopyTo (System.Web.Services.Configuration.TypeElement[] array, int index);
override this.CopyTo : System.Web.Services.Configuration.TypeElement[] * int -> unit
Public Sub CopyTo (array As TypeElement(), index As Integer)

Parameters

array
TypeElement[]

An array of type TypeElement to which to copy the contents of the collection.

index
Int32

The zero-based index in array at which copying begins.

Applies to