ReadOnlySpan<T>.Equals(Object) 方法

定义

注意

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

不支持。Not supported. 引发 NotSupportedExceptionThrows a 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 == instead.")]
public override bool Equals (object obj);
[<System.Obsolete("Equals() on ReadOnlySpan will always throw an exception. Use == instead.")>]
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

参数

obj
Object

不支持。Not supported.

返回

Boolean

不支持。Not supported.

属性

例外

始终由此方法引发。Always thrown by this method.

注解

不支持。Not supported.

适用于