Share via


IComparable.CompareTo Method

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

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

Syntax

'Declaration
PrivateFunctionCompareTo ( _
    objAsObject _
) AsIntegerImplementsIComparable.CompareTo
'Usage
DiminstanceAsLabelDimobjAsObjectDimreturnValueAsIntegerreturnValue = CType(instance, IComparable).CompareTo(obj)
intIComparable.CompareTo(
    Objectobj
)
private:
virtualintCompareTo(
    Object^ obj
) sealed = IComparable::CompareTo
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System. . :: . .Int32

Implements

IComparable. . :: . .CompareTo(Object)

.NET Framework Security

See Also

Reference

Label Class

Label Members

System.Dataflow Namespace