TemplateControl.TestDeviceFilter(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Boolean value indicating whether a device filter applies to the HTTP request.
public:
virtual bool TestDeviceFilter(System::String ^ filterName);
public virtual bool TestDeviceFilter (string filterName);
abstract member TestDeviceFilter : string -> bool
override this.TestDeviceFilter : string -> bool
Public Overridable Function TestDeviceFilter (filterName As String) As Boolean
Parameters
- filterName
- String
The browser name to test.
Returns
true
if the client browser specified in filterName
is the same as the specified browser; otherwise, false
. The default is false
.
Remarks
The TestDeviceFilter method invokes the IsBrowser method. For more information on device filtering, see Device Filtering Overview.
Applies to
See also
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.