DataGridViewColumnCollection.CopyTo(DataGridViewColumn[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies the items from the collection to the given array.
public:
void CopyTo(cli::array <System::Windows::Forms::DataGridViewColumn ^> ^ array, int index);
public void CopyTo (System.Windows.Forms.DataGridViewColumn[] array, int index);
override this.CopyTo : System.Windows.Forms.DataGridViewColumn[] * int -> unit
Public Sub CopyTo (array As DataGridViewColumn(), index As Integer)
Parameters
- array
- DataGridViewColumn[]
The destination DataGridViewColumn array.
- index
- Int32
The index of the destination array at which to start copying.