HttpBrowserCapabilitiesBase.CompareFilters(String, String) 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.
When overridden in a derived class, used internally to compare filters.
public:
virtual int CompareFilters(System::String ^ filter1, System::String ^ filter2);
public virtual int CompareFilters (string filter1, string filter2);
abstract member CompareFilters : string * string -> int
override this.CompareFilters : string * string -> int
Public Overridable Function CompareFilters (filter1 As String, filter2 As String) As Integer
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
; or 0 if there is no parent-child relationship between filter1
and filter2
.
Implements
Exceptions
Always.
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.