HttpCapabilitiesBase.IFilterResolutionService.CompareFilters(String, String) Metodo

Definizione

Usato internamente per confrontare i filtri.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

Parametri

filter1
String

Primo filtro da confrontare.The first filter to compare.

filter2
String

Secondo filtro da confrontare.The second filter to compare.

Restituisce

Int32

1 se filter1 è padre di filter2; -1 se filter2 è padre di filter1; 0 se tra filter1 e filter2 non esiste alcuna relazione padre/figlio.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.

Implementazioni

Si applica a