Condividi tramite


TimeOnly.Equality(TimeOnly, TimeOnly) Operatore

Definizione

Determina se due istanze specificate di TimeOnlysono uguali.

public:
 static bool operator ==(TimeOnly left, TimeOnly right);
public static bool operator == (TimeOnly left, TimeOnly right);
static member ( = ) : TimeOnly * TimeOnly -> bool
Public Shared Operator == (left As TimeOnly, right As TimeOnly) As Boolean

Parametri

left
TimeOnly

Primo oggetto da confrontare.

right
TimeOnly

Secondo oggetto da confrontare.

Restituisce

Boolean

true se sinistra e destra rappresentano lo stesso tempo; in caso contrario, false.

Si applica a