DataGridColumnCollection.IndexOf Method
.NET Framework 3.0
Returns the index of the specified DataGridColumn-derived column object from the DataGridColumnCollection collection.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public int IndexOf ( DataGridColumn column )
public function IndexOf ( column : DataGridColumn ) : int
Not applicable.
Parameters
- column
The DataGridColumn-derived column to search for in the DataGridColumnCollection.
Return Value
The index position of the specified DataGridColumn-derived column in the DataGridColumnCollection. The default value is -1, which indicates that the specified DataGridColumn-derived object is not found.Community Additions
ADD
Show: