共用方式為


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)
Available in Sandboxed Solutions: No

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