DeviceFilterElementCollection.Remove 方法

定义

从集合中删除指定的对象。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

重载

名称 说明
Remove(String)

从集合中删除具有指定键的对象。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

Remove(DeviceFilterElement)

从集合中删除指定的项。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

Remove(String)

从集合中删除具有指定键的对象。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 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

标识要删除的项的键。

另请参阅

适用于

Remove(DeviceFilterElement)

从集合中删除指定的项。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

public:
 void Remove(System::Web::Mobile::DeviceFilterElement ^ deviceFilter);
public void Remove(System.Web.Mobile.DeviceFilterElement deviceFilter);
member this.Remove : System.Web.Mobile.DeviceFilterElement -> unit
Public Sub Remove (deviceFilter As DeviceFilterElement)

参数

deviceFilter
DeviceFilterElement

要从集合中移除的项。

注解

此重载从参数引用 deviceFilter 的对象中获取键,然后使用键作为参数调用 DeviceFilterElementCollection.Remove 该方法。

另请参阅

适用于