Share via


WebPartRibbonContextualGroup.Id property

Gets or sets the identifier of the contextual group on the Server ribbon.

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

Syntax

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

value = instance.Id

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

Property value

Type: System.String
A string that represents the unique identifier of the contextual group.

Remarks

This value must be unique across all controls inside the Server ribbon.

See also

Reference

WebPartRibbonContextualGroup class

WebPartRibbonContextualGroup members

Microsoft.SharePoint.WebControls namespace