Upraviť

Zdieľať cez


DeviceFilterElementCollection.Remove Method

Definition

Removes a specified object from the collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

Remove(String)

Removes the object with the specified key from the collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Remove(DeviceFilterElement)

Removes the specified item from the collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Remove(String)

Removes the object with the specified key from 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 Remove(System::String ^ name);
public void Remove (string name);
member this.Remove : string -> unit
Public Sub Remove (name As String)

Parameters

name
String

The key that identifies the item to be removed.

See also

Applies to

Remove(DeviceFilterElement)

Removes the specified item from 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 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)

Parameters

deviceFilter
DeviceFilterElement

The item to remove from the collection.

Remarks

This overload gets the key from the object referenced by the deviceFilter parameter and then calls the DeviceFilterElementCollection.Remove method with the key as the argument.

See also

Applies to