Color.GetHashCode 方法

定义

获取当前 Color 结构的哈希代码。Gets a hash code for the current Color struct.

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

返回

Int32

当前 Color 结构的哈希代码。A hash code for the current Color struct.

注解

此结构表示 Windows 运行时 (WinRT) 结构的 .NET 投影 ColorThis struct represents the .NET projection of the Windows Runtime (WinRT) Color struct. 有关详细信息,请参阅 UWP API 参考中的 颜色For more information, see Color in the UWP API reference.

适用于