Compares two objects.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
protected override int Compare(
	IXRenderable x,
	int itemIndex
)

Parameters

x
Type: SGP.XSpace..::.IXRenderable
First renderable IXRenderable object.
itemIndex
Type: System..::.Int32
Second item position in the collection.

Return Value

Returns the negative value if the first is less than the second, positive value if the first is greater than the second, and the zero if the objects are equal.

See Also