HttpCapabilitiesBase.IFilterResolutionService.CompareFilters(String, String) Methode

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);
abstract member System.Web.UI.IFilterResolutionService.CompareFilters : string * string -> int
override this.System.Web.UI.IFilterResolutionService.CompareFilters : string * string -> int
Function CompareFilters (filter1 As String, filter2 As String) As Integer Implements IFilterResolutionService.CompareFilters

Parameter

filter1
String

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

filter2
String

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

Gibt zurück

Int32

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: