YearMonthDuration.GreaterThan OperatorYearMonthDuration.GreaterThan OperatorYearMonthDuration::GreaterThan Operator

Indicates whether a specified YearMonthDurationYearMonthDurationYearMonthDuration is greater than another specified YearMonthDurationYearMonthDurationYearMonthDuration.

Syntax

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

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the duration1 is greater than duration2; otherwise, falseFalsefalse.