Share via


SaveAndPublishCommandHandler class

Ribbon command handler for the "Save and Publish" button.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.WebControls.SPRibbonCommandHandler
        Microsoft.SharePoint.WebControls.PublishCommandHandler
          Microsoft.SharePoint.WebControls.SaveAndPublishCommandHandler

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

Syntax

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

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

SaveAndPublishCommandHandler members

Microsoft.SharePoint.WebControls namespace