Share via


DontSaveAndStopCommandHandler Class

Represents the ribbon command handler for the Don’t 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.DontSaveAndStopCommandHandler

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

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

DontSaveAndStopCommandHandler Members

Microsoft.SharePoint.WebControls Namespace