Share via


CompareTo Method (Date)

[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
Assembly:  System.Dataflow (in System.Dataflow.dll)

Syntax

'Declaration
PublicFunctionCompareTo ( _
    otherAsDate _
) AsInteger
'Usage
DiminstanceAsDateDimotherAsDateDimreturnValueAsIntegerreturnValue = instance.CompareTo(other)
publicintCompareTo(
    Dateother
)
public:
virtualintCompareTo(
    Dateother
) sealed
publicfinalfunctionCompareTo(
    other : Date
) : int

Parameters

Return Value

Type: System. . :: . .Int32

Implements

IComparable< (Of < ( <'T> ) > ) >. . :: . .CompareTo(T)

.NET Framework Security

See Also

Reference

Date Structure

Date Members

CompareTo Overload

System Namespace