HttpCapabilitiesBase.IFilterResolutionService.CompareFilters(String, String) Method

Definition

Used internally to compare filters.

 virtual int System.Web.UI.IFilterResolutionService.CompareFilters(System::String ^ filter1, System::String ^ filter2) = System::Web::UI::IFilterResolutionService::CompareFilters;
int IFilterResolutionService.CompareFilters (string filter1, string filter2);
Function CompareFilters (filter1 As String, filter2 As String) As Integer Implements IFilterResolutionService.CompareFilters

Parameters

filter1
String

The first filter to compare.

filter2
String

The second filter to compare.

Returns

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.

Implements

Applies to