Share via


SPRibbonCommand class

Represents a generic ribbon command.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.WebControls.SPRibbonCommand
    Microsoft.SharePoint.WebControls.SPRibbonPopulateQueryCommand
    Microsoft.SharePoint.WebControls.SPRibbonPostBackCommand
    Microsoft.SharePoint.WebControls.SPRibbonQueryCommand

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

Syntax

'Declaration
Public Class SPRibbonCommand _
    Implements IRibbonCommand
'Usage
Dim instance As SPRibbonCommand
public class SPRibbonCommand : IRibbonCommand

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPRibbonCommand members

Microsoft.SharePoint.WebControls namespace