Szerkesztés

Megosztás a következőn keresztül:


ValueTask<TResult>.Equality Operator

Definition

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

Parameters

left
ValueTask<TResult>

The first value to compare.

right
ValueTask<TResult>

The second value to compare.

Returns

true if the two ValueTask<TResult> values are equal; otherwise, false.

Applies to