| |||||||
DataGridColumnCollection.IndexOf MethodSystem.Web.UI.WebControls Namespace DataGridColumnCollection Class Returns the index of the specified DataGridColumn in the collection. [ VB ] Public Function IndexOf ( _ ByVal column As Column _ ) As Integer [ C# ] public int IndexOf ( Column column ); [ C++ ] public: int IndexOf ( Column* column ); [ JScript ] public function IndexOf ( column : Column ) : int; Parameters
Return ValueThe index of the specified DataGridColumn in the DataGridColumnCollection. The default value is -1, which indicates that the specified column object is not found. RemarksUse this method to determine the index number of a specified DataGridColumn derived object in the DataGridColumnCollection. If the specified DataGridColumn object is not found, an index of -1 is returned. ExampleThe following example demonstrates how to use the IndexOf method to determine the index of a DataGridColumn derived object in a DataGridColumnCollection.
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