Cuemon .NET Framework
Compare Method (EnumerableSizeComparer<T>)

The first object to compare.
The second object to compare.
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Syntax
'Declaration
 
Public Overrides Function Compare( _
   ByVal x As T, _
   ByVal y As T _
) As Integer
public override int Compare( 
   T x,
   T y
)

Parameters

x
The first object to compare.
y
The second object to compare.

Return Value

A signed integer that indicates the relative values of x and y, as explained here: Less than zero - x is less than y. Zero - x equals y. Greater than zero - x is greater than y.
Requirements

Target Platforms: Windows 8, Windows Server 2012, 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

EnumerableSizeComparer<T> Class
EnumerableSizeComparer<T> Members
Base Implementation in Compare

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback