다음을 통해 공유


SPListEventProperties Members

Include Protected Members
Include Inherited Members

Provides properties for SharePoint list events.

The SPListEventProperties type exposes the following members.

Properties

  Name Description
Public property Cancel 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 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

Methods

  Name Description
Public method Dispose Closes and releases any resources that are held by the current SPSite and SPWeb objects.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method InvalidateList Invalidates the current out-of-date list and prepares the list to be refreshed with current list items when the list is called again.
Public method InvalidateWeb Invalidates the current out-of-date Web object so that the next time it is called the caller will get the current instance of the Web.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPListEventProperties Class

Microsoft.SharePoint Namespace