SPItemEventProperties 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 | Obsolete. 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.) |
![]() |
ExternalNotificationMessage | Gets the notification message received from the external system. |
![]() |
FileSystemObjectTypePropertyName | Gets a string that contains the file system object type. |
![]() |
IsBackgroundSave | Gets a Boolean value that indicates whether the current update operation was triggered by a non-user gesture like a background thread or automated save. |
![]() |
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. |
![]() |
ListItemUniqueId | Gets the list item unique ID of the event. |
![]() |
ListItemVersion | Gets the specific historical version of the list item for which the event applies. |
![]() |
ListItemVersionType | Gets the type of historical version of the list item for which the event applies. |
![]() |
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 | Obsolete. 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. |
![]() |
Site | Gets the site collection for the list item. |
![]() |
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 website 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. |
![]() |
SetDoNotTrimVersions | Sets the item event property to disable version trimming. |
![]() |
SetForceCreateDocumentVersion | Sets the item event property to force-create a version with this update of a file in a document library. |
![]() |
ToString | (Inherited from Object.) |
Top