BasicPropertyAttribute.GetHashCode 方法

返回当前实例的哈希代码。重写 GetHashCode

命名空间:  Microsoft.VisualStudio.Data
程序集:  Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.dll 中)

语法

声明
Public Overrides Function GetHashCode As Integer
public override int GetHashCode()
public:
virtual int GetHashCode() override
abstract GetHashCode : unit -> int 
override GetHashCode : unit -> int 
public override function GetHashCode() : int

返回值

类型:System.Int32
返回32位有符号整数哈希代码。

备注

为“基本”的属性是一些最常用的是通常所需的建立连接。

.NET Framework 安全性

请参见

参考

BasicPropertyAttribute 类

Microsoft.VisualStudio.Data 命名空间