ReadOnlySpan<T>.Inequality(ReadOnlySpan<T>, ReadOnlySpan<T>) ReadOnlySpan<T>.Inequality(ReadOnlySpan<T>, ReadOnlySpan<T>) ReadOnlySpan<T>.Inequality(ReadOnlySpan<T>, ReadOnlySpan<T>) ReadOnlySpan<T>.Inequality(ReadOnlySpan<T>, ReadOnlySpan<T>) Operator

定義

2 つの ReadOnlySpan<T> インスタンスが等しくないかどうかを示す値を返します。Returns a value that indicates whether two ReadOnlySpan<T> instances are not equal.

public:
 static bool operator !=(ReadOnlySpan<T> left, ReadOnlySpan<T> right);
public static bool operator != (ReadOnlySpan<T> left, ReadOnlySpan<T> right);
static member op_Inequality : ReadOnlySpan<'T> * ReadOnlySpan<'T> -> bool
Public Shared Operator != (left As ReadOnlySpan(Of T), right As ReadOnlySpan(Of T)) As Boolean

パラメーター

left
ReadOnlySpan<T> ReadOnlySpan<T> ReadOnlySpan<T> ReadOnlySpan<T>

比較する最初の読み取り専用スパン。The first read-only span to compare.

right
ReadOnlySpan<T> ReadOnlySpan<T> ReadOnlySpan<T> ReadOnlySpan<T>

比較する 2 番目の読み取り専用スパン。The second read-only span to compare.

戻り値

true 場合、2 つReadOnlySpan<T>インスタンスが、それ以外のfalseします。true if the two ReadOnlySpan<T> instances are not equal; otherwise, false.

注釈

2 つReadOnlySpan<T>インスタンスが等しくない長さが異なるを持っている場合や、対応する要素のleftrightさまざまなメモリの場所をポイントします。Two ReadOnlySpan<T> instances are not equal if they have different lengths or if the corresponding elements of left and right point to different memory locations.

適用対象