| |||||||
DataGridColumnCollection.CopyTo MethodSystem.Web.UI.WebControls Namespace DataGridColumnCollection Class Copies the contents of the collection into an Array, starting at the specified index of the Array object. [ VB ] NotOverridable Public Sub CopyTo ( _ ByVal array As Array, _ ByVal index As Integer _ ) [ C# ] public void CopyTo ( Array array, int index ); [ C++ ] public: __sealed void CopyTo ( Array* array, int index ); [ JScript ] public function CopyTo ( array : Array, index : int ); Parameters
RemarksUse this method to copy the contents of the DataGridColumnCollection into the specified System.Array object, starting at the specified index.
ExampleThe following example demonstrates how to use the CopyTo method to copy the contents of the DataGridColumnCollection to an array of DataGridColumn objects.
See AlsoDataGridColumnCollection Members |
| ||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme