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

傳回

呼叫此方法時總是拋出 NotSupportedException

屬性

例外狀況

不支援呼叫此方法。

適用於