HttpCapabilitiesBase.System.Web.UI.IFilterResolutionService.CompareFilters Method

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Used internally to compare filters.

Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)

int IFilterResolutionService.CompareFilters (
	string filter1,
	string filter2
Not applicable.



The first filter to compare.


The second filter to compare.

Return Value

1 if filter1 is a parent of filter2; -1 if filter2 is a parent of filter1; 0 if there is no parent-child relationship between filter1 and filter2.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions