ReadOnlySpan<T>.GetHashCode 方法

定義

警告

GetHashCode() on ReadOnlySpan will always throw an exception.

不支援。 擲回 NotSupportedException

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

傳回

不支援。

屬性

例外狀況

一律由此方法擲回。

備註

不支援。

適用於