InputLanguageCollection.CopyTo(InputLanguage[], Int32) Method

Definition

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

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

Parameters

array
InputLanguage[]

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

index
Int32

The index in array where copying begins.

Exceptions

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.

array is null.

index is less than the lower bound of array.

Applies to

See also