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 (string name);

Parameters

name
String

The key that identifies the item to be removed.

See also

Applies to

.NET Framework 4.8.1 en andere versies
Product Versies
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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);

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

.NET Framework 4.8.1 en andere versies
Product Versies
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1