TemplateControl.TestDeviceFilter Method
.NET Framework 2.0
Returns a Boolean value indicating whether a device filter applies to the HTTP request.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public boolean TestDeviceFilter ( String filterName )
public function TestDeviceFilter ( filterName : String ) : boolean
Not applicable.
Parameters
- filterName
The browser name to test.
Return Value
true if the client browser specified in filterName is the same as the specified browser; otherwise, false. The default is false.The TestDeviceFilter method invokes the IsBrowser method. For more information on device filtering, see Introduction to Device Filtering in ASP.NET.
Community Additions
ADD
Show: