Export (0) Print
Expand All

IFilterResolutionService.CompareFilters Method

Returns a value indicating whether a parent-child relationship exists between two specified device filters.

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

int CompareFilters(
	string filter1,
	string filter2
)

Parameters

filter1
Type: System.String

A device filter name.

filter2
Type: System.String

A device filter name

Return Value

Type: System.Int32
1 if the device filter identified by filter1 is a parent of the filter identified by filter2, -1 if the device filter identified by filter2 is a parent of the filter identified by filter1, and 0 if there is no parent-child relationship between the two filters.

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft