Upravit

Sdílet prostřednictvím


DataControlFieldCollection.Contains(DataControlField) Method

Definition

Determines whether the DataControlFieldCollection collection contains a specific DataControlField object.

public:
 bool Contains(System::Web::UI::WebControls::DataControlField ^ field);
public bool Contains (System.Web.UI.WebControls.DataControlField field);
member this.Contains : System.Web.UI.WebControls.DataControlField -> bool
Public Function Contains (field As DataControlField) As Boolean

Parameters

Returns

true if the DataControlFieldCollection contains the specified field; otherwise, false.

Remarks

This method performs a linear search. It determines equality by calling Object.Equals.

Applies to