 | FacetResultLabelComparerCompare Method (Object, Object) |
Compares two instances of facet results as object
Namespace:
Dynamicweb.Indexing.Querying.Faceting
Assembly:
Dynamicweb.Indexing (in Dynamicweb.Indexing.dll) Version: 5.0.2
Syntaxpublic int Compare(
Object x,
Object y
)
Public Function Compare (
x As Object,
y As Object
) As Integer
Parameters
- x
- Type: SystemObject
First object to be compared - y
- Type: SystemObject
Second object to be compared
Return Value
Type:
Int320 if labels are equal, 1 if first instance is greater, otherwise -1
Implements
IComparerCompare(Object, Object)
Remarksif any instance equal null or cannot be casted to
FacetResult then returns 0
See Also