ControlElementCollection.Remove 方法

定义

从集合中移除 ControlElementRemoves a ControlElement from the collection. 此 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.

重载

Remove(String)

从集合中移除由名称标识的 ControlElement 对象。Removes the ControlElement object identified by name from the collection. 此 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.

Remove(ControlElement)

从集合中移除给定 ControlElementRemoves the given ControlElement from the collection. 此 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.

Remove(String)

从集合中移除由名称标识的 ControlElement 对象。Removes the ControlElement object identified by name from the collection. 此 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::String ^ name);
public void Remove (string name);
member this.Remove : string -> unit
Public Sub Remove (name As String)

参数

name
String

要移除的 ControlElement 的名称。The name of the ControlElement to remove.

另请参阅

Remove(ControlElement)

从集合中移除给定 ControlElementRemoves the given ControlElement from the collection. 此 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::ControlElement ^ controlElement);
public void Remove (System.Web.UI.MobileControls.ControlElement controlElement);
member this.Remove : System.Web.UI.MobileControls.ControlElement -> unit
Public Sub Remove (controlElement As ControlElement)

参数

controlElement
ControlElement

ControlElement 对象。A ControlElement object.

另请参阅

适用于