0 out of 1 rated this helpful - Rate this topic

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
Public property AfterProperties Gets a hash table of properties consisting of string/value pairs that correspond to fields in the SPItem object after the event occurred.
Public property AfterUrl Gets the URL of the item after the event occurred.
Public property BeforeProperties Gets a hash table of properties consisting of string/value pairs that correspond to fields in the SPItem object before the event occurred.
Public property BeforeUrl Gets the URL of the item before the event occurred.
Public property Cancel  Gets or sets a Boolean value that determines whether the event is cancelled.(inherited from SPEventPropertiesBase)
Public property Context Gets the context of the item event.
Public property CurrentUserId Gets the integer ID of the user whose action caused the event to occur.
Public property ErrorMessage  Gets or sets the error message that Windows SharePoint Services displays when an event is cancelled.(inherited from SPEventPropertiesBase)
Public property EventType Gets the type of event that occurred.
Public property ListId Gets the ID of the list in which the event occurred.
Public property ListItem  
Public property ListItemId Gets the ID of the list item to which the event occurred.
Public property ListTitle Gets the title of the list in which the event occurred.
Public property ReceiverData  Gets a string that contains data about the event.(inherited from SPEventPropertiesBase)
Public property RelativeWebUrl Gets the server-relative URL of the Web site in which the event occurred.
Public property SiteId Gets the ID of the site in which the event occurred.
Public property Status  Gets or sets the status of trapping the event.(inherited from SPEventPropertiesBase)
Public property UserDisplayName Gets the display name of the user whose action caused the event to occur.
Public property UserLoginName Gets the user name of the user whose action caused the event to occur.
Public property Versionless  
Public property WebUrl Gets the absolute URL of the site in which the list item event occurs.
Public property Zone  
Top
(see also Protected Methods )
  Name Description
Public method Dispose Releases all unmanaged resources used by the site collection object in which the event occurred.
Public method Equals  Overloaded. (inherited from Object)
Public method GetHashCode  (inherited from Object)
Public method GetType  (inherited from Object)
Public method OpenWeb Returns the site in which the event occurred.
Public method Static ReferenceEquals  (inherited from Object)
Public method ToString  (inherited from Object)
Top
  Name Description
Protected method Finalize  (inherited from Object)
Protected method MemberwiseClone  (inherited from Object)
Top
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.