Share via


RibbonGroup.Id Property (2007 System)

Gets a string that identifies the current group.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)

Syntax

'Declaration
Public ReadOnly Property Id As String
'Usage
Dim instance As RibbonGroup 
Dim value As String 

value = instance.Id
public string Id { get; }
public:
property String^ Id {
    String^ get ();
}
public function get Id () : String

Property Value

Type: System.String
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 Tools for Office 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.

.NET Framework Security

See Also

Reference

RibbonGroup Class

RibbonGroup Members

Microsoft.Office.Tools.Ribbon Namespace