JAMS Developer Guide
Compare Method (PropComparer)


MVPSI.JAMS Namespace > PropComparer Class : Compare Method
The property of object X.
The property of object Y.
Compares two objects based upon the passed properties.
Syntax
'Declaration
 
Public Function Compare( _
   ByVal x As System.Object, _
   ByVal y As System.Object _
) As System.Integer
'Usage
 
Dim instance As PropComparer
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
The property of object X.
y
The property of object Y.
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

PropComparer Class
PropComparer Members