Compares two sizes.
'Declaration
Public Shared Function Compare( _
ByVal As ReportSize, _
ByVal As ReportSize _
) As Integer
public static int Compare(
ReportSize ,
ReportSize
)
Parameters
- s1
- The first size to compare.
- s2
- The second size to compare.
Return Value
-1
if is less than , 1
if is greater than , or 0
if the two sizes are equal.
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