BasicProfileViolationCollection.CopyTo(BasicProfileViolation[], 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::Description::BasicProfileViolation ^> ^ array, int index);
public void CopyTo (System.Web.Services.Description.BasicProfileViolation[] array, int index);
member this.CopyTo : System.Web.Services.Description.BasicProfileViolation[] * int -> unit
Public Sub CopyTo (array As BasicProfileViolation(), index As Integer)

Parameters

array
BasicProfileViolation[]

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

index
Int32

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

Applies to