SPItemEventArgs Class
Represents the event parameters of an event involving the item on which a workflow instance is running.
Inheritance Hierarchy
System.Object
System.EventArgs
System.Workflow.Activities.ExternalDataEventArgs
Microsoft.SharePoint.Workflow.SPItemEventArgs
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SPItemEventArgs _
Inherits ExternalDataEventArgs
Dim instance As SPItemEventArgs
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPItemEventArgs : ExternalDataEventArgs
Remarks
When the ISharePointService raises the OnWorkflowItemChanged or OnWorkflowItemDeleted event, the event parameters are contained in the SPItemEventArgs class.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.