Partager via


RibbonGroup.Id Property

Definition

Gets a string that identifies the current group.

public:
 property System::String ^ Id { System::String ^ get(); };
public string Id { get; }
member this.Id : string
Public ReadOnly Property Id As String

Property Value

A string that identifies the current group.

Remarks

By default, the Id property has the same value as the Name property. If no value is specified for the Name property, then Visual Studio generates a value for the Id property.

All components in an OfficeRibbon object must have unique Id property values.

The Id property corresponds to the id attribute of components in the Ribbon XML file.

Applies to