HttpCapabilitiesBase.IFilterResolutionService.CompareFilters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- filter1
- String
The first filter to compare.
- filter2
- String
The second filter to compare.
Returns
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
.
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.