SPItemEventProperties Members
Windows SharePoint Services 3
Contains properties for asynchronous list item event handlers, and serves as a base class for Before synchronous event handlers.
The following tables list the members exposed by the SPItemEventProperties type.
| 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 |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Dispose | Releases all unmanaged resources used by the site collection object in which the event occurred. |
| Equals | Overloaded. (inherited from Object) |
| GetHashCode | (inherited from Object) |
| GetType | (inherited from Object) |
| OpenWeb | Returns the site in which the event occurred. |
| ReferenceEquals | (inherited from Object) |
| ToString | (inherited from Object) |