Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a string that identifies the current group.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
ReadOnly Property Id As String
string Id { get; }
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 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.