Rediger

Del via


ObjectListFieldCollection.Add(ObjectListField) Method

Definition

Adds a field to the end of the collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 void Add(System::Web::UI::MobileControls::ObjectListField ^ field);
public void Add (System.Web.UI.MobileControls.ObjectListField field);
member this.Add : System.Web.UI.MobileControls.ObjectListField -> unit
Public Sub Add (field As ObjectListField)

Parameters

field
ObjectListField

The ObjectListField to add to the end of the collection.

Remarks

This method is not available in the read-only IObjectListFieldCollection interface. Adding a field to the field collection of an object list changes the data-binding behavior of the control and requires you to bind data to the control again.

Applies to

See also