PageTheme.TestDeviceFilter Method (String)

 

Tests whether a device filter applies to the Page control that the instance of the PageTheme class is associated with.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public bool TestDeviceFilter(
	string deviceFilterName
)

Parameters

deviceFilterName
Type: System.String

The string name of the device filter to check.

Return Value

Type: System.Boolean

true if deviceFilterName applies to the page; otherwise; false.

.NET Framework
Available since 2.0
Return to top
Show: