ValueTask<TResult>.Equality(ValueTask<TResult>, ValueTask<TResult>) ValueTask<TResult>.Equality(ValueTask<TResult>, ValueTask<TResult>) ValueTask<TResult>.Equality(ValueTask<TResult>, ValueTask<TResult>) ValueTask<TResult>.Equality(ValueTask<TResult>, ValueTask<TResult>) Operator

Definition

Überprüft zwei Werte auf Gleichheit.Compares two values for equality.

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

Parameter

left
ValueTask<TResult> ValueTask<TResult> ValueTask<TResult> ValueTask<TResult>

Der erste zu vergleichende Wert.The first value to compare.

right
ValueTask<TResult> ValueTask<TResult> ValueTask<TResult> ValueTask<TResult>

Der zweite zu vergleichende Wert.The second value to compare.

Gibt zurück

true, wenn die beiden ValueTask<TResult>-Werte gleich sind, andernfalls false.true if the two ValueTask<TResult> values are equal; otherwise, false.

Gilt für: