共用方式為


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

屬性

例外狀況

不支援呼叫這個方法。

適用於