ReadOnlySpan<T>.Equals(Object) Método

Definição

Cuidado

Equals() on ReadOnlySpan will always throw an exception. Use == instead.

Cuidado

Equals() on ReadOnlySpan will always throw an exception. Use the equality operator instead.

Não há suporte. Gera uma NotSupportedException.

public:
 override bool Equals(System::Object ^ obj);
[System.Obsolete("Equals() on ReadOnlySpan will always throw an exception. Use == instead.")]
public override bool Equals (object? obj);
[System.Obsolete("Equals() on ReadOnlySpan will always throw an exception. Use the equality operator instead.")]
public override bool Equals (object? obj);
[System.Obsolete("Equals() on ReadOnlySpan will always throw an exception. Use == instead.")]
public override bool Equals (object obj);
[<System.Obsolete("Equals() on ReadOnlySpan will always throw an exception. Use == instead.")>]
override this.Equals : obj -> bool
[<System.Obsolete("Equals() on ReadOnlySpan will always throw an exception. Use the equality operator instead.")>]
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parâmetros

obj
Object

Não há suporte.

Retornos

Boolean

Não há suporte.

Atributos

Exceções

Sempre gerada por este método.

Comentários

Não há suporte.

Aplica-se a