# Duration.GreaterThanOrEqual(Duration, Duration)Duration.GreaterThanOrEqual(Duration, Duration)Duration.GreaterThanOrEqual(Duration, Duration)Duration.GreaterThanOrEqual(Duration, Duration) Operator

## Definizione

Determina se un'istanza di Duration è maggiore o uguale a un'altra istanza.Determines whether an instance of Duration is greater than or equal to another instance.

``````public:
static bool operator >=(System::Windows::Duration t1, System::Windows::Duration t2);``````
``public static bool operator >= (System.Windows.Duration t1, System.Windows.Duration t2);``
``static member ( >= ) : System.Windows.Duration * System.Windows.Duration -> bool``
``Public Shared Operator >= (t1 As Duration, t2 As Duration) As Boolean``

#### Parametri

t1
Duration Duration Duration Duration

Prima istanza di Duration da confrontare.The first instance of Duration to compare.

t2
Duration Duration Duration Duration

Seconda istanza di Duration da confrontare.The second instance of Duration to compare.

#### Restituisce

`true` se sia `t1` che `t2` hanno valori e `t1` è maggiore o uguale a `t2`; in caso contrario, `false`.`true` if both `t1` and `t2` have values and `t1` is greater than or equal to `t2`; otherwise, `false`.

## Commenti

Foreverviene considerato maggiore di qualsiasi valore finito.Forever is considered greater than any finite value. Qualsiasi confronto con un Automatic valore restituisce `false`.Any comparison with an Automatic value returns `false`.

Il metodo equivalente per questo operatore èDuration.Compare(Duration, Duration)The equivalent method for this operator is Duration.Compare(Duration, Duration)