Edit

Share via


ProtocolElementCollection.CopyTo(ProtocolElement[], Int32) Method

Definition

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

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

Parameters

array
ProtocolElement[]

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

index
Int32

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

Applies to