Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

InputLanguageCollection::CopyTo Method (array<InputLanguage^>^, Int32)

 

Copies the InputLanguageCollection values to a one-dimensional Array at the specified index.

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

public:
void CopyTo(
	array<InputLanguage^>^ array,
	int index
)

Parameters

array
Type: array<System.Windows.Forms::InputLanguage^>^

The one-dimensional array that is the destination of the values copied from InputLanguageCollection.

index
Type: System::Int32

The index in array where copying begins.

Exception Condition
ArgumentException

array specifies a multidimensional array.

-or-

The number of elements in the InputLanguageCollection is greater than the available space between the index and the end of array.

ArgumentNullException

array is null.

ArgumentOutOfRangeException

index is less than the lower bound of array.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft