Rect.GetHashCode 方法
定义
public:
override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer
返回
当前 Rect 结构的哈希代码。A hash code for the current Rect struct.
注解
此结构表示 Windows 运行时 (WinRT) 结构的 .NET 投影 Rect 。This struct represents the .NET projection of the Windows Runtime (WinRT) Rect struct. 有关详细信息,请参阅 UWP API 参考中的 Rect 。For more information, see Rect in the UWP API reference.
有关此成员的详细信息和示例,请参阅 Rect.GetHashCode .NET FRAMEWORK API 参考中的。For more information and examples of this member, see Rect.GetHashCode in the .NET Framework API reference. (示例演示 WPF 用法,可能无法直接转换为 UWP XAML。 ) (Examples show WPF usage and might not translate directly to UWP XAML.)