SPListEventProperties properties

The SPListEventProperties type exposes the following members.

Properties

  Name Description
Public property Cancel Obsolete. Gets or sets a Boolean value that indicates whether to cancel the event. (Inherited from SPEventPropertiesBase.)
Public property ErrorMessage Gets or sets the error message that Microsoft SharePoint Foundation displays when an event is cancelled. (Inherited from SPEventPropertiesBase.)
Public property EventType Gets the type of the event. (Inherited from SPEventPropertiesBase.)
Protected property EventUserToken Represents the current user at the time the specified event is fired. (Inherited from SPEventPropertiesBase.)
Public property FeatureId Gets the unique identifier of the SharePoint feature that created the list.
Public property Field Gets the field that is affected by adding, removing, or updating a field in the list.
Public property FieldName Gets the name of the field that is affected by adding, removing, or updating a field in the list.
Public property FieldXml Gets the XML definition of the field that is affected by adding, removing, or updating a field in the list.
Public property List Gets a reference to the list that is affected by the event.
Public property ListId Gets the GUID of the list affected by the event.
Public property ListTitle Gets the title of the list that is affected by the event.
Public property OriginatingUserToken Gets the token of the user who makes the request. (Inherited from SPEventPropertiesBase.)
Public property ReceiverData Gets a string that contains data about the event. (Inherited from SPEventPropertiesBase.)
Public property RedirectUrl Obsolete. A URL to redirect to when the status of SPEventReceiverStatus is CancelWithRedirectUrl. (Inherited from SPEventPropertiesBase.)
Public property SiteId Gets the site ID of the event. (Inherited from SPEventPropertiesBase.)
Public property Status Gets or sets the status of trapping the event. (Inherited from SPEventPropertiesBase.)
Public property TemplateId Gets the identifier of the template on which the list is based.
Public property UserDisplayName Gets the display name of the user whose action caused the event.
Public property UserLoginName Gets the user name of the user whose action caused the event.
Public property Web Gets a reference to the Web site that contains the list that is affected by the event.
Public property WebId Gets the GUID of the Web site that contains the list that is affected by the event.
Public property WebUrl Gets the URL of the Web site in which the event occurred.

Top

See also

Reference

SPListEventProperties class

Microsoft.SharePoint namespace