Share via


SubmitForApprovalCommandHandler Constructor

Initializes a new PublishCommandHandler class object that represents the Submit for Approval button on the ribbon.

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

Syntax

'Declaration
Public Sub New ( _
    psc As SPPageStateControl _
)
'Usage
Dim psc As SPPageStateControl

Dim instance As New SubmitForApprovalCommandHandler(psc)
public SubmitForApprovalCommandHandler(
    SPPageStateControl psc
)

Parameters

  • psc
    Type: Microsoft.SharePoint.WebControls.SPPageStateControl

    The SPPageStateControl instance that instantiates this ASP.NET control. This parameter is used for centralized error handling of all the command handlers that work with the state of the page.

See Also

Reference

SubmitForApprovalCommandHandler Class

SubmitForApprovalCommandHandler Members

Microsoft.SharePoint.WebControls Namespace