Bagikan melalui


ImmutableArray<T>.Equality Operator

Definisi

Overload

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

Mengembalikan nilai yang menunjukkan apakah dua array sama.

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

Mengembalikan nilai yang menunjukkan apakah dua array sama.

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

Sumber:
ImmutableArray_1.Minimal.cs
Sumber:
ImmutableArray_1.Minimal.cs
Sumber:
ImmutableArray_1.Minimal.cs

Mengembalikan nilai yang menunjukkan apakah dua array sama.

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

Parameter

left
ImmutableArray<T>

Array di sebelah kiri operator.

right
ImmutableArray<T>

Array di sebelah kanan operator.

Mengembalikan

true jika array sama; jika tidak, false.

Berlaku untuk

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

Sumber:
ImmutableArray_1.Minimal.cs
Sumber:
ImmutableArray_1.Minimal.cs
Sumber:
ImmutableArray_1.Minimal.cs

Mengembalikan nilai yang menunjukkan apakah dua array sama.

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

Parameter

left
Nullable<ImmutableArray<T>>

Array di sebelah kiri operator.

right
Nullable<ImmutableArray<T>>

Array di sebelah kanan operator.

Mengembalikan

true jika array sama; jika tidak, false.

Berlaku untuk