InputLanguageCollection.CopyTo Method (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(
	InputLanguage[] array,
	int index
)

Parameters

array
Type: 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: