共用方式為


SPRibbonMenuItem.Command Property

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

Syntax

'Declaration
Public ReadOnly Property Command As SPRibbonCommand
    Get
'Usage
Dim instance As SPRibbonMenuItem
Dim value As SPRibbonCommand

value = instance.Command
public SPRibbonCommand Command { get; }

Property Value

Type: Microsoft.SharePoint.WebControls.SPRibbonCommand

See Also

Reference

SPRibbonMenuItem Class

SPRibbonMenuItem Members

Microsoft.SharePoint.WebControls Namespace