HttpCapabilitiesBase.IFilterResolutionService.CompareFilters(String, String) HttpCapabilitiesBase.IFilterResolutionService.CompareFilters(String, String) HttpCapabilitiesBase.IFilterResolutionService.CompareFilters(String, String) Method

Definition

Wird intern zum Vergleichen von Filtern verwendet.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

Parameter

filter1
String String String

Der erste zu vergleichende Filter.The first filter to compare.

filter2
String String String

Der zweite zu vergleichende Filter.The second filter to compare.

Gibt zurück

1, wenn filter1 dem filter2 übergeordnet ist, -1, wenn filter2 dem filter1 übergeordnet ist, andernfalls 0, wenn zwischen filter1 und filter2 keine hierarchische Beziehung besteht.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.

Implementiert

Gilt für: