SPRibbonButton.RibbonCommand Property

Gets or sets the command that is called by the Server ribbon button.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property RibbonCommand As String
    Get
    Set
'Usage
Dim instance As SPRibbonButton
Dim value As String

value = instance.RibbonCommand

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

Property Value

Type: System.String
A string that contains the Server ribbon command.

See Also

Reference

SPRibbonButton Class

SPRibbonButton Members

Microsoft.SharePoint.WebControls Namespace