Compartir a través de


TimeOnly.Equality(TimeOnly, TimeOnly) Operador

Definición

Determina si dos instancias especificadas de TimeOnlyson iguales.

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

Parámetros

left
TimeOnly

Primer objeto que se va a comparar.

right
TimeOnly

Segundo objeto que se va a comparar.

Devoluciones

Boolean

true si la izquierda y la derecha representan la misma hora; de lo contrario, false.

Se aplica a