TemplateControl.TestDeviceFilter Method (String)
.NET Framework (current version)
Returns a Boolean value indicating whether a device filter applies to the HTTP request.
Assembly: System.Web (in System.Web.dll)
Parameters
- filterName
-
Type:
System.String
The browser name to test.
Return Value
Type: System.Booleantrue 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 ASP.NET Device Filtering Overview.
.NET Framework
Available since 2.0
Available since 2.0
Show: