Compares the current object with another object of the same type.
'Declaration
Public Function CompareTo( _
ByVal As Border _
) As Integer
'Usage
Dim instance As Border
Dim other As Border
Dim value As Integer
value = instance.CompareTo(other)
public int CompareTo(
Border
)
Parameters
- other
- An object to compare with this object.
Return Value
A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the parameter. Zero This object is equal to . Greater than zero This object is greater than .
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional