Redigera

Dela via


AutoCompleteStringCollection.CopyTo(String[], Int32) Method

Definition

Copies an array of String objects into the collection, starting at the specified position.

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 String objects to add to the collection.

index
Int32

The position within the collection at which to start the insertion.

Applies to