SPRibbonPostBackCommand constructor (String, IPostBackEventHandler)

Initializes a new instance of the SPRibbonPostBackCommand class using the specified command and event handler.

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

Syntax

'Declaration
Public Sub New ( _
    commandId As String, _
    eventHandler As IPostBackEventHandler _
)
'Usage
Dim commandId As String
Dim eventHandler As IPostBackEventHandler

Dim instance As New SPRibbonPostBackCommand(commandId, _
    eventHandler)
public SPRibbonPostBackCommand(
    string commandId,
    IPostBackEventHandler eventHandler
)

Parameters

  • commandId
    Type: System.String

    A string that contains the command identifier.

See also

Reference

SPRibbonPostBackCommand class

SPRibbonPostBackCommand members

SPRibbonPostBackCommand overload

Microsoft.SharePoint.WebControls namespace