Bridge

IComparable<(Of <(<'T>)>)> Interface

Defines a generalized comparison method that a value type or class implements to create a type-specific comparison method for ordering or sorting its instances.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[ExternalAttribute]
[NamespaceAttribute]
public interface IComparable<T> : IBridgeClass
<ExternalAttribute> _
<NamespaceAttribute> _
Public Interface IComparable(Of T) _
	Inherits IBridgeClass
[ExternalAttribute]
[NamespaceAttribute]
generic<typename T>
public interface class IComparable : IBridgeClass

Type Parameters

T
The type of object 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.