共用方式為


WebPartGalleryItemBase.RibbonCommand property

字串,包含控制項的Server ribbon命令 ID。

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

Syntax

'宣告
Public Overrides ReadOnly Property RibbonCommand As String
    Get
'用途
Dim instance As WebPartGalleryItemBase
Dim value As String

value = instance.RibbonCommand
public override string RibbonCommand { get; }

Property value

Type: System.String
在所有情況下a null reference (Nothing in Visual Basic) 。

請參閱

參照

WebPartGalleryItemBase class

WebPartGalleryItemBase members

Microsoft.SharePoint.WebPartPages namespace