BCGControlBar Library for .NET
CompareTo Method (GridDataRow)




A row to compare with.
Compares a row to other row.
Syntax
'Declaration
 
Public Overridable Function CompareTo( _
   ByVal y As Object _
) As Integer
'Usage
 
Dim instance As GridDataRow
Dim y As Object
Dim value As Integer
 
value = instance.CompareTo(y)
public virtual int CompareTo( 
   object y
)
public: virtual int CompareTo( 
   Object* y
) 
public:
virtual int CompareTo( 
   Object^ y
) 

Parameters

y
A row to compare with.

Return Value

-1 if this < y; 0 if this == y; 1 if this > y.
Remarks
SortIndexes must be non-empty, otherwise this method always returns 0.
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

GridDataRow Class
GridDataRow Members

Send Feedback