TemplateControl.TestDeviceFilter Method
.NET Framework 3.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)
'Declaration Public Overridable Function TestDeviceFilter ( _ filterName As String _ ) As Boolean 'Usage Dim instance As TemplateControl Dim filterName As String Dim returnValue As Boolean returnValue = instance.TestDeviceFilter(filterName)
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: