Comparison<(Of <(<'T>)>)> Delegate
Represents the method that compares two objects of the same type.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[NameAttribute] [ExternalAttribute] public delegate int Comparison<T>( T x, T y )
<NameAttribute> _ <ExternalAttribute> _ Public Delegate Function Comparison(Of T) ( _ x As T, _ y As T _ ) As Integer
[NameAttribute] [ExternalAttribute] generic<typename T> public delegate int^ Comparison( T x, T y )
Type Parameters
- T
- The type of the objects to compare.This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Parameters
- x
- Type: T
The first object to compare.
- y
- Type: T
The second object to compare.