PublishCommandHandler Class
Collapse the table of content
Expand the table of content

PublishCommandHandler Class

Handles the state for the Publish button on the ribbon.

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

[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class PublishCommandHandler : SPRibbonCommandHandler, 
	ICallbackEventHandler, IPostBackEventHandler

This button applies to instances where the rendered page represents a wiki or publishing page. This button does not apply to pages or files that are in a document library.

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