Compares two objects ( Rectangle) and returns a value indicating whether one is less than, equal to or greater than the other
Syntax
Visual Basic (Declaration) |
|
Public Function Compare( _
ByVal x As Object, _
ByVal y As Object _
) As Integer |
Parameters
- x
- First object to compare.
- y
- Second object to compare
Return Value
value condition -1 - less, 0 - equal, 1 - greater
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also