Compartilhar via


ImmutableArray<T>.Equality Operador

Definição

Sobrecargas

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

Retorna um valor que indica se as duas matrizes são iguais.

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

Retorna um valor que indica se as duas matrizes são iguais.

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

Origem:
ImmutableArray_1.Minimal.cs
Origem:
ImmutableArray_1.Minimal.cs
Origem:
ImmutableArray_1.Minimal.cs

Retorna um valor que indica se as duas matrizes são iguais.

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

Parâmetros

left
ImmutableArray<T>

A matriz à esquerda do operador.

right
ImmutableArray<T>

A matriz à direita do operador.

Retornos

true se as matrizes forem iguais; caso contrário, false.

Aplica-se a

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

Origem:
ImmutableArray_1.Minimal.cs
Origem:
ImmutableArray_1.Minimal.cs
Origem:
ImmutableArray_1.Minimal.cs

Retorna um valor que indica se as duas matrizes são iguais.

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

Parâmetros

left
Nullable<ImmutableArray<T>>

A matriz à esquerda do operador.

right
Nullable<ImmutableArray<T>>

A matriz à direita do operador.

Retornos

true se as matrizes forem iguais; caso contrário, false.

Aplica-se a