DevForce Help Reference
CompareTo Method (EntityAspect)


Object to compare with this instance
Base implementation of System.IComparable.CompareTo(System.Object).
Syntax
'Declaration
 
Public Overridable Function CompareTo( _
   ByVal obj As Object _
) As Integer
'Usage
 
Dim instance As EntityAspect
Dim obj As Object
Dim value As Integer
 
value = instance.CompareTo(obj)
public virtual int CompareTo( 
   object obj
)

Parameters

obj
Object to compare with this instance
Remarks
This will compare Entities by EntityKey. Derived classes can override this implementation as needed to modify the default sort order of objects of this type.
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

EntityAspect Class
EntityAspect Members

Send Feedback