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 indicates whether to cancel the event. (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 Microsoft SharePoint Foundation displays when an event is cancelled. (Inherited from SPEventPropertiesBase.) |
![]() |
EventType | Gets the type of the event. (Inherited from SPEventPropertiesBase.) |
![]() |
EventUserToken | Represents the current user at the time the specified event is fired. (Inherited from SPEventPropertiesBase.) |
![]() |
FileSystemObjectTypePropertyName | Gets a string that contains the file system object type. |
![]() |
List | Gets the list that is associated with the event that occurred. |
![]() |
ListId | Gets the ID of the list that is associated with the event that occurred. |
![]() |
ListItem | Gets the list item that is associated with the event that occurred. |
![]() |
ListItemId | Gets the ID of the list item associated with the event. |
![]() |
ListTitle | Gets the title of the list associated with the event that occurred. |
![]() |
OriginatingUserToken | Gets the token of the user who makes the request. (Inherited from SPEventPropertiesBase.) |
![]() |
ReceiverData | Gets a string that contains data about the event. (Inherited from SPEventPropertiesBase.) |
![]() |
RedirectUrl | A URL to redirect to when the status of SPEventReceiverStatus is CancelWithRedirectUrl. (Inherited from SPEventPropertiesBase.) |
![]() |
RelativeWebUrl | Gets the server-relative URL of the Web site that is associated with the event that occurred. |
![]() |
SiteId | Gets the site ID of the event. (Inherited from SPEventPropertiesBase.) |
![]() |
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 | Indicates whether the event results in a change that does not increment the version. |
![]() |
Web | Gets the parent Web site of the list associated with the event that occurred. |
![]() |
WebUrl | Gets the absolute URL of the Web site associated with the event that occurred. |
![]() |
Zone | Gets the zone of the Web site that is associated with the event that occurred. |
Top
.gif)
.gif)