IFilterResolutionService.EvaluateFilter Method (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns a value indicating whether the specified filter is a type of the current filter object.

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

bool EvaluateFilter(
	string filterName


Type: System.String

The name of a device filter.

Return Value

Type: System.Boolean

true if the specified filter is a type applicable to the current filter object; otherwise, false.

The EvaluateFilter method determines whether a named device filter is a type of filter supported by the IFilterResolutionService object.

.NET Framework
Available since 2.0
Return to top