ObjectListFieldCollection.Remove(ObjectListField) 方法
定义
移除指定的字段。Removes the specified field. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
void Remove(System::Web::UI::MobileControls::ObjectListField ^ field);
public void Remove (System.Web.UI.MobileControls.ObjectListField field);
member this.Remove : System.Web.UI.MobileControls.ObjectListField -> unit
Public Sub Remove (field As ObjectListField)
参数
- field
- ObjectListField
要移除的字段。The field to remove.
注解
在接口中不可用 IObjectListFieldCollection 。Not available in the IObjectListFieldCollection interface.
从对象列表的字段中删除字段会更改控件的数据绑定行为,并要求您再次将数据绑定到该控件。Removing a field from the fields of an object list changes the data-binding behavior of the control, and requires you to bind data to the control again.