Compares two DimensionValue objects using the current Identifier and Direction.

Namespace:  Endeca.Web.Url.Seo.Canonicalizers
Assembly:  Endeca.Web.Url.Seo (in Endeca.Web.Url.Seo.dll) Version: 2.1.1.0 (2.1.1.0)

Syntax

C#
public int Compare(
	DimensionValue x,
	DimensionValue y
)
Visual Basic (Declaration)
Public Function Compare ( _
	x As DimensionValue, _
	y As DimensionValue _
) As Integer
Visual C++
public:
virtual int Compare(
	DimensionValue^ x, 
	DimensionValue^ y
) sealed

Parameters

x
Type: DimensionValue
The first DimensionValue to compare
y
Type: DimensionValue
The second DimensionValue to compare

Return Value

1 or -1 or 0

Implements

IComparer<(Of <(T>)>)..::.Compare(T, T)

See Also