SPRibbonCommand Constructors

Definition

Overloads

SPRibbonCommand(String)
SPRibbonCommand(String, String)
SPRibbonCommand(String, String, String)

SPRibbonCommand(String)

public:
 SPRibbonCommand(System::String ^ commandId);
public SPRibbonCommand (string commandId);
new Microsoft.SharePoint.WebControls.SPRibbonCommand : string -> Microsoft.SharePoint.WebControls.SPRibbonCommand
Public Sub New (commandId As String)

Parameters

commandId
String

Applies to

SPRibbonCommand(String, String)

public:
 SPRibbonCommand(System::String ^ commandId, System::String ^ handlerStatement);
public SPRibbonCommand (string commandId, string handlerStatement);
new Microsoft.SharePoint.WebControls.SPRibbonCommand : string * string -> Microsoft.SharePoint.WebControls.SPRibbonCommand
Public Sub New (commandId As String, handlerStatement As String)

Parameters

commandId
String
handlerStatement
String

Applies to

SPRibbonCommand(String, String, String)

public:
 SPRibbonCommand(System::String ^ commandId, System::String ^ handlerStatement, System::String ^ enabledStatement);
public SPRibbonCommand (string commandId, string handlerStatement, string enabledStatement);
new Microsoft.SharePoint.WebControls.SPRibbonCommand : string * string * string -> Microsoft.SharePoint.WebControls.SPRibbonCommand
Public Sub New (commandId As String, handlerStatement As String, enabledStatement As String)

Parameters

commandId
String
handlerStatement
String
enabledStatement
String

Applies to