Span<T>.GetHashCode 方法

定义

注意

GetHashCode() on Span will always throw an exception.

public:
 override int GetHashCode();
[System.Obsolete("GetHashCode() on Span will always throw an exception.")]
public override int GetHashCode ();
[<System.Obsolete("GetHashCode() on Span will always throw an exception.")>]
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

返回

Int32

调用此方法始终引发 NotSupportedException

属性

例外

不支持对此方法的调用。

适用于