Share via


SPPolicy.GetHashCode method

Returns the hashcode of the policy.

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

Syntax

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

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

Return value

Type: System.Int32
A 32-bit signed integer hash code taken from the Port.

See also

Reference

SPPolicy class

SPPolicy members

Microsoft.SharePoint.Administration namespace