Share via


SPRibbonQueryCommand Constructor (String, Boolean)

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

Syntax

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

Dim instance As New SPRibbonQueryCommand(commandId, _
    state)
public SPRibbonQueryCommand(
    string commandId,
    bool state
)

Parameters

See Also

Reference

SPRibbonQueryCommand Class

SPRibbonQueryCommand Members

SPRibbonQueryCommand Overload

Microsoft.SharePoint.WebControls Namespace