共用方式為


SPListEvent Members

Include Protected Members
Include Inherited Members

NOTE: This API is now obsolete.

Represents an event that occurs within a document library. This class is maintained for backward-compatibility with event handling in Windows SharePoint Services 2.0.

The SPListEvent type exposes the following members.

Properties

  Name Description
Public property ListID Obsolete. Gets the GUID of the document library in which the event occurred.
Public property PropertiesAfter Obsolete. Gets a collection of key-value pairs that represent the state of a document in a document library after the document was modified.
Public property PropertiesBefore Obsolete. Gets a collection of key-value pairs that represent the state of a document in a document library before the document was modified.
Public property SinkData Obsolete. Gets an arbitrary string of properties used by an event handler for a document library.
Public property Site Obsolete. Gets the parent site of the list in which the event occurs.
Public property Title Obsolete. Gets the title of the document library in which the event occurs.
Public property Type Obsolete. Gets the type of an event that occurs in a document library.
Public property UrlAfter Obsolete. Gets the new site-relative URL of a document or folder after any event except deletion has occurred.
Public property UrlBefore Obsolete. Gets the original site-relative URL of a document or folder before it was deleted, moved, or copied.
Public property UserDisplayName Obsolete. Gets the display name of the user whose action triggers the event.
Public property UserID Obsolete. Gets the ID of the user whose action triggered the event.
Public property UserLoginName Obsolete. Gets the user name of the user whose action triggered the event.
Public property WebUrl Obsolete. Gets the absolute URL of the site in which the event occurred.

Top

Methods

  Name Description
Public method Dispose Obsolete. Releases all unmanaged resources used by the list event.
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 methodStatic member LoadHandler Obsolete. This type or member supports Microsoft Windows SharePoint Services and is not intended to be used directly from your code.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPListEvent Class

Microsoft.SharePoint Namespace