Compare 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
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
PublicSharedFunctionCompare ( _
time1AsTime, _
time2AsTime _
) AsInteger
'Usage
Dimtime1AsTimeDimtime2AsTimeDimreturnValueAsIntegerreturnValue = Time.Compare(time1, _
time2)
publicstaticintCompare(
Timetime1,
Timetime2
)
public:
staticintCompare(
Timetime1,
Timetime2
)
publicstaticfunctionCompare(
time1 : Time,
time2 : Time
) : int
Parameters
- time1
Type: System. . :: . .Time
- time2
Type: System. . :: . .Time
Return Value
Type: System. . :: . .Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.85).