Partilhar via


ValueTask<TResult>.Equality Operador

Definição

Compara dois valores quanto à igualdade.

public:
 static bool operator ==(System::Threading::Tasks::ValueTask<TResult> left, System::Threading::Tasks::ValueTask<TResult> right);
public static bool operator == (System.Threading.Tasks.ValueTask<TResult> left, System.Threading.Tasks.ValueTask<TResult> right);
static member ( = ) : System.Threading.Tasks.ValueTask<'Result> * System.Threading.Tasks.ValueTask<'Result> -> bool
Public Shared Operator == (left As ValueTask(Of TResult), right As ValueTask(Of TResult)) As Boolean

Parâmetros

left
ValueTask<TResult>

O primeiro valor a ser comparado.

right
ValueTask<TResult>

O segundo valor a ser comparado.

Retornos

Boolean

true se os dois valores de ValueTask<TResult> forem iguais, caso contrário, false.

Aplica-se a