共用方式為


ImmutableArray<T>.Equality 運算子

定義

多載

Equality(ImmutableArray<T>, ImmutableArray<T>)

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

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

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

Equality(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 ( = ) : 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

適用於

Equality(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 ( = ) : 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

適用於