Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DeviceFilterElement Class

Represents a device-specific filter to be applied to the application.

Namespace: System.Web.Mobile
Assembly: System.Web.Mobile (in system.web.mobile.dll)
public sealed class DeviceFilterElement : ConfigurationElement
public final class DeviceFilterElement extends ConfigurationElement
public final class DeviceFilterElement extends ConfigurationElement
Not applicable.

This class corresponds to the <filter> element for the <deviceFilters> section of the ASP.NET settings schema.

A filter can be either a comparison filter or an evaluator filter. Comparison-based filters compare a value specified by the developer to the current value of a device capability at run time. The evaluator (or delegate-based) filter uses a method from a programmer-specified class to perform the evaluation.

System.Object
   System.Configuration.ConfigurationElement
    System.Web.Mobile.DeviceFilterElement
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.