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)
Available in Sandboxed Solutions: No

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