Namespace: Contracts
Assembly: Contracts (in Contracts.dll)

Public Function Compare( _ 
ByVal x As Object, _ 
ByVal y As Object
) As Integer Implements _ 
IComparer.Compare
This language is not supported or no code example is available.
public int Compare( 
object x
object y 
)
This language is not supported or no code example is available.
public:  
int Compare( 
object^ x
object^ y 
)
This language is not supported or no code example is available.
public function Compare( 
x : object
y : object 
) : int;
This language is not supported or no code example is available.

Parameters

x
Type: object

y
Type: object

Return Value

Type: int

Implements

IComparer.Compare

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1