Duration.GetHashCode 方法

定义

获取此对象的哈希代码。

public:
 override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

返回

Int32

哈希代码标识符。

注解

此结构表示 Windows 运行时 (WinRT) 结构的 .NET 投影 Duration 。 有关详细信息,请参阅 UWP API 参考中的 持续时间

适用于