共用方式為


ImmutableArray<T>.Inequality 運算子

定義

多載

Inequality(ImmutableArray<T>, ImmutableArray<T>)

傳回值,這個值指出兩個陣列是否不相等。

Inequality(Nullable<ImmutableArray<T>>, Nullable<ImmutableArray<T>>)

檢查兩個陣列間的不相等。

Inequality(ImmutableArray<T>, ImmutableArray<T>)

來源:
ImmutableArray_1.Minimal.cs
來源:
ImmutableArray_1.Minimal.cs
來源:
ImmutableArray_1.Minimal.cs

傳回值,這個值指出兩個陣列是否不相等。

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

參數

left
ImmutableArray<T>

位於運算子左邊的陣列。

right
ImmutableArray<T>

位於運算子右邊的陣列。

傳回

如果陣列不相等,則為 true,否則為 false

適用於

Inequality(Nullable<ImmutableArray<T>>, Nullable<ImmutableArray<T>>)

來源:
ImmutableArray_1.Minimal.cs
來源:
ImmutableArray_1.Minimal.cs
來源:
ImmutableArray_1.Minimal.cs

檢查兩個陣列間的不相等。

public:
 static bool operator !=(Nullable<System::Collections::Immutable::ImmutableArray<T>> left, Nullable<System::Collections::Immutable::ImmutableArray<T>> right);
public static bool operator != (System.Collections.Immutable.ImmutableArray<T>? left, System.Collections.Immutable.ImmutableArray<T>? right);
static member op_Inequality : Nullable<System.Collections.Immutable.ImmutableArray<'T>> * Nullable<System.Collections.Immutable.ImmutableArray<'T>> -> bool
Public Shared Operator != (left As Nullable(Of ImmutableArray(Of T)), right As Nullable(Of ImmutableArray(Of T))) As Boolean

參數

left
Nullable<ImmutableArray<T>>

位於運算子左邊的物件。

right
Nullable<ImmutableArray<T>>

位於運算子右邊的物件。

傳回

如果兩個陣列不相等,則為 true,否則為 false

適用於