SPRibbonPopulateQueryCommand constructor (String, String)

Initializes a new instance of an SPRibbonPopulateQueryCommand object with the specified identifier and function name.

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

Syntax

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

Dim instance As New SPRibbonPopulateQueryCommand(commandId, _
    getMenuXmlFunctionName)
public SPRibbonPopulateQueryCommand(
    string commandId,
    string getMenuXmlFunctionName
)

Parameters

  • getMenuXmlFunctionName
    Type: System.String

    The name of the JavaScript function that gets the XML string for a ribbon menu.

See also

Reference

SPRibbonPopulateQueryCommand class

SPRibbonPopulateQueryCommand members

SPRibbonPopulateQueryCommand overload

Microsoft.SharePoint.WebControls namespace