System.Web.UI.WebControls.DataControlFieldCollection.IndexOf Method

Determines the index of a specific System.Web.UI.WebControls.DataControlField object in the collection.

Syntax

public int IndexOf (DataControlField field)

Parameters

field
The System.Web.UI.WebControls.DataControlField to locate in the collection.

Returns

The index of the field parameter, if it is found in the collection; otherwise, -1.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0