Determines whether the System.Web.UI.WebControls.DataControlFieldCollection collection contains a specific System.Web.UI.WebControls.DataControlField object.
- field
- The System.Web.UI.WebControls.DataControlField to locate in the System.Web.UI.WebControls.DataControlFieldCollection.
true if the System.Web.UI.WebControls.DataControlFieldCollection contains the specified field; otherwise, false.
This method performs a linear search. It determines equality by calling object.Equals(object).