DayTimeDuration.LessThan OperatorDayTimeDuration.LessThan OperatorDayTimeDuration::LessThan Operator

Indicates whether a specified DayTimeDurationDayTimeDurationDayTimeDuration is less than another specified DayTimeDurationDayTimeDurationDayTimeDuration.

Syntax

Public Shared Operator <( _
    duration1 As DayTimeDuration, _
    duration2 As DayTimeDuration _
) As Boolean
public static bool operator <(
    DayTimeDuration duration1,
    DayTimeDuration duration2
)
public:
static bool operator <(
    DayTimeDuration duration1, 
    DayTimeDuration duration2
)
 

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the value of duration1 is less than the value of duration2, falseFalsefalse otherwise.