DataControlFieldCollection.Contains(DataControlField) Methode

Definition

Bestimmt, ob die DataControlFieldCollection Auflistung ein bestimmtes DataControlField Objekt enthält.

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

Parameter

Gibt zurück

truewenn das DataControlFieldCollection angegebene Feld enthalten ist; andernfalls . false

Hinweise

Diese Methode führt eine lineare Suche aus. Sie bestimmt die Gleichheit durch Aufrufen Object.Equals.

Gilt für: