HttpCapabilitiesBase.IFilterResolutionService.CompareFilters Méthode

Définition

Utilisé en interne pour comparer des filtres.

 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

Paramètres

filter1
String

Premier filtre à comparer.

filter2
String

Deuxième filtre à comparer.

Retours

Int32

1 si filter1 est un parent de filter2 ; -1 si filter2 est un parent de filter1 ; 0 en l’absence de relation parent-enfant entre filter1 et filter2.

Implémente

S’applique à