JAMS Developer Guide
Compare Method (PropDeepComparer)


MVPSI.JAMS Namespace > PropDeepComparer Class : Compare Method
Object X
Object Y
Compares two objects.
Syntax
'Declaration
 
Public Function Compare( _
   ByVal x As System.Object, _
   ByVal y As System.Object _
) As System.Integer
'Usage
 
Dim instance As PropDeepComparer
Dim x As System.Object
Dim y As System.Object
Dim value As System.Integer
 
value = instance.Compare(x, y)
public System.int Compare( 
   System.object x,
   System.object y
)

Parameters

x
Object X
y
Object Y

Return Value

-1, - or 1
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PropDeepComparer Class
PropDeepComparer Members