SPContext.RecurrenceID property

Returns the instance ID or exception ID of the Microsoft SharePoint Foundation context, or returns a null reference (Nothing in Visual Basic) if the current context is not associated with an event list item.

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

public string RecurrenceID { get; }

Property value

Type: System.String
A string that contains the ID.