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)

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