共用方式為


SPListEvent Class

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.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPListEvent

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPListEvent _
    Implements IDisposable

Dim instance As SPListEvent
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPListEvent : IDisposable

Remarks

For more information about document library events, see Walkthrough: Handling Document Library Events.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPListEvent Members

Microsoft.SharePoint Namespace