SPItemEventProperties Properties

Include Protected Members
Include Inherited Members

The SPItemEventProperties type exposes the following members.

Properties

Name Description
AfterProperties Gets a hash table of properties consisting of string/value pairs that correspond to fields in the SPItem object after the event occurred.
AfterUrl Gets the URL of the item after the event occurred.
BeforeProperties Gets a hash table of properties consisting of string/value pairs that correspond to fields in the SPItem object before the event occurred.
BeforeUrl Gets the URL of the item before the event occurred.
Cancel Gets or sets a Boolean value that determines whether the event is cancelled. (Inherited from SPEventPropertiesBase.)
Context Gets the context of the item event.
CurrentUserId Gets the integer ID of the user whose action caused the event to occur.
ErrorMessage Gets or sets the error message that Windows SharePoint Services displays when an event is cancelled. (Inherited from SPEventPropertiesBase.)
EventType Gets the type of event that occurred.
ListId Gets the ID of the list in which the event occurred.
ListItem
ListItemId Gets the ID of the list item to which the event occurred.
ListTitle Gets the title of the list in which the event occurred.
ReceiverData Gets a string that contains data about the event. (Inherited from SPEventPropertiesBase.)
RelativeWebUrl Gets the server-relative URL of the Web site in which the event occurred.
SiteId Gets the ID of the site in which the event occurred.
Status Gets or sets the status of trapping the event. (Inherited from SPEventPropertiesBase.)
UserDisplayName Gets the display name of the user whose action caused the event to occur.
UserLoginName Gets the user name of the user whose action caused the event to occur.
Versionless
WebUrl Gets the absolute URL of the site in which the list item event occurs.
Zone

Top

See Also

Reference

SPItemEventProperties Class

Microsoft.SharePoint Namespace