Share via


WebPartRibbonContextualGroup.Command property

Gets or sets the Server ribbon command associated with the contextual group.

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

Syntax

'Declaration
Public Property Command As String
    Get
    Set
'Usage
Dim instance As WebPartRibbonContextualGroup
Dim value As String

value = instance.Command

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

Property value

Type: System.String
A string that specifies the ribbon command for the contextual group.

See also

Reference

WebPartRibbonContextualGroup class

WebPartRibbonContextualGroup members

Microsoft.SharePoint.WebControls namespace