DataColumnCollection.CopyTo(DataColumn[], 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 entire collection into an existing array, starting at a specified index within the array.
public:
void CopyTo(cli::array <System::Data::DataColumn ^> ^ array, int index);
public void CopyTo (System.Data.DataColumn[] array, int index);
override this.CopyTo : System.Data.DataColumn[] * int -> unit
Public Sub CopyTo (array As DataColumn(), index As Integer)
Parameters
- array
- DataColumn[]
An array of DataColumn objects to copy the collection into.
- index
- Int32
The index to start from.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.