Share via


SPPersistedObject.GetHashCode Method

Serves as a hash function for the persisted object.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Overrides Function GetHashCode As Integer
'Usage
Dim instance As SPPersistedObject
Dim returnValue As Integer

returnValue = instance.GetHashCode()
public override int GetHashCode()

Return Value

Type: System.Int32
A hash code for the current persisted object.

See Also

Reference

SPPersistedObject Class

SPPersistedObject Members

Microsoft.SharePoint.Administration Namespace