Partilhar via


SPRibbonPostBackCommand Constructor (String, IPostBackEventHandler, Object )

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

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

Syntax

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

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

Parameters

  • commandId
    Type: System.String

    A string that contains the command 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