AutoCompleteStringCollection::ICollection::CopyTo Method (Array^, Int32)

 

Copies the strings of the collection to an Array, starting at a particular Array index. For a description of this member, see ICollection::CopyTo.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

private:
virtual void CopyTo(
	Array^ array,
	int index
) sealed = ICollection::CopyTo

Parameters

array
Type: System::Array^

The one-dimensional Array that is the destination of the strings copied from collection. The Array must have zero-based indexing.

index
Type: System::Int32

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

This member is an explicit interface member implementation. It can be used only when the AutoCompleteStringCollection instance is cast to an ICollection interface.

.NET Framework
Available since 2.0
Return to top
Show: