SPRibbonPostBackCommand constructor (String, IPostBackEventHandler, String, Object[])

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

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

Syntax

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

Dim instance As New SPRibbonPostBackCommand(commandId, _
    eventHandler, eventId, eventArgs)
public SPRibbonPostBackCommand(
    string commandId,
    IPostBackEventHandler eventHandler,
    string eventId,
    Object[] eventArgs
)

Parameters

  • commandId
    Type: System.String

    A string that contains the command identifier.

  • eventId
    Type: System.String

    A string that contains the event identifier.

  • eventArgs
    Type: []

    An Object array that contains the arguments for the event.

See also

Reference

SPRibbonPostBackCommand class

SPRibbonPostBackCommand members

SPRibbonPostBackCommand overload

Microsoft.SharePoint.WebControls namespace