Share via


SPPrefix.GetHashCode method

Returns the hash code of the prefix.

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 SPPrefix
Dim returnValue As Integer

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

Return value

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

See also

Reference

SPPrefix class

SPPrefix members

Microsoft.SharePoint.Administration namespace