Compartir a través de


SaveAndStopEditCommandHandler class

Represents the ribbon command handler for the Save and Stop Editing button.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.WebControls.SPRibbonCommandHandler
        Microsoft.SharePoint.WebControls.SaveAndStopEditCommandHandler

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

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Public Class SaveAndStopEditCommandHandler _
    Inherits SPRibbonCommandHandler _
    Implements IPostBackEventHandler
'Usage
Dim instance As SaveAndStopEditCommandHandler
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
public class SaveAndStopEditCommandHandler : SPRibbonCommandHandler, 
    IPostBackEventHandler

Remarks

This class also serves as the force save command handler in error cases.

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

SaveAndStopEditCommandHandler members

Microsoft.SharePoint.WebControls namespace