Edit

Share via


CategoryNameCollection.CopyTo(String[], Int32) Method

Definition

Copies the collection elements to the specified array at the specified index.

public:
 void CopyTo(cli::array <System::String ^> ^ array, int index);
public void CopyTo (string[] array, int index);
member this.CopyTo : string[] * int -> unit
Public Sub CopyTo (array As String(), index As Integer)

Parameters

array
String[]

The array to copy to.

index
Int32

The index of the destination array at which to begin copying.

Applies to