Share via


SPCalendarItem.GetHashCode method

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

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

Syntax

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

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

Return value

Type: System.Int32
int hash code

See also

Reference

SPCalendarItem class

SPCalendarItem members

Microsoft.SharePoint.WebControls namespace