ObjectListFieldCollection.Add(ObjectListField) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.