Compares the current object with another object of the same type.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Function CompareTo( _
ByVal other As StyleInfo _
) As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As StyleInfo
Dim other As StyleInfo
Dim value As Integer
value = instance.CompareTo(other) |
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
other parameter. Zero This object is equal to
other. Greater than zero This object is greater than
other.
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also