Share via


TargetSchemaVersionAttribute.GetHashCode method

Overide GetHashCode. HashCode of obj1 should equal HashCode of obj2 if obj1.Equals(obj2) is true

Namespace:  Microsoft.SharePoint.Upgrade
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function GetHashCode As Integer
'Usage
Dim instance As TargetSchemaVersionAttribute
Dim returnValue As Integer

returnValue = instance.GetHashCode()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override int GetHashCode()

Return value

Type: System.Int32
int hash code

See also

Reference

TargetSchemaVersionAttribute class

TargetSchemaVersionAttribute members

Microsoft.SharePoint.Upgrade namespace