共用方式為


HttpCapabilitiesBase.IFilterResolutionService.CompareFilters 方法

定義

在內部用來比較篩選條件。

 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

參數

filter1
String

要比較的第一個篩選條件。

filter2
String

要比較的第二個篩選條件。

傳回

如果 filter1filter2 的父代,則為 1,如果 filter2filter1 的父代,則為 -1,如果 filter1filter2 之間沒有父-子關係 (Parent-Child Relationship),則為 0。

實作

適用於