DataControlFieldCollection::IndexOf Method (DataControlField^)
.NET Framework (current version)
Determines the index of a specific DataControlField object in the collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- field
-
Type:
System.Web.UI.WebControls::DataControlField^
The DataControlField to locate in the collection.
Return Value
Type: System::Int32The index of the field parameter, if it is found in the collection; otherwise, -1.
.NET Framework
Available since 2.0
Available since 2.0
Show: