RibbonControlId.OfficeId Property
Gets or sets an identifier for a Microsoft Office control.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Property OfficeId As String
string OfficeId { get; set; }
Property Value
Type: System.String
A string that contains an identifier for an Office control.
Remarks
For a list of valid Office IDs, see Office 2010 Help Files: Office Fluent User Interface Control Identifiers.
.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.