SPItemEventProperties Members
Include Protected Members
Include Inherited Members
Contains information about list item events.
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
Methods
Name | Description | |
---|---|---|
Dispose | Releases all unmanaged resources used by the site collection object associated with the event. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
InvalidateListItem | Invalidates the current ListItem object. | |
InvalidateWeb | Invalidates the current SPWeb object. | |
MemberwiseClone | (Inherited from Object.) | |
OpenSite | Opens the site collection of the Web application in which the event is triggered. | |
OpenWeb | Retrieves the Web site that is associated with the event that occurred. | |
ToString | (Inherited from Object.) |
Top