BCGControlBar Library for .NET
Compare Method (GridSelectionRange)




First range to compare.
Second range to compare.
Compares two ranges.
Syntax
'Declaration
 
Public Shared Function Compare( _
   ByVal range1 As GridSelectionRange, _
   ByVal range2 As GridSelectionRange _
) As Integer
'Usage
 
Dim range1 As GridSelectionRange
Dim range2 As GridSelectionRange
Dim value As Integer
 
value = GridSelectionRange.Compare(range1, range2)
public static int Compare( 
   GridSelectionRange range1,
   GridSelectionRange range2
)
public: static int Compare( 
   GridSelectionRange* range1,
   GridSelectionRange* range2
) 
public:
static int Compare( 
   GridSelectionRange^ range1,
   GridSelectionRange^ range2
) 

Parameters

range1
First range to compare.
range2
Second range to compare.

Return Value

0 - ranges equivalent; 1 - ranges are different.
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

GridSelectionRange Class
GridSelectionRange Members

Send Feedback