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 the ID of the built-in Ribbon control, group, or tab that the current RibbonPosition uses to define a relative location for another control, group, or tab.
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 OfficeId As String
'Usage
Dim instance As RibbonPosition
Dim value As String
value = instance.OfficeId
public string OfficeId { get; }
public:
property String^ OfficeId {
String^ get ();
}
public function get OfficeId () : String
Property Value
Type: System.String
The ID of a built-in Ribbon control, group, or tab.
Remarks
The ID is a name that uniquely identifies a control, group, or tab that is built into a Microsoft Office application. For a list of IDs, see the Microsoft Download Center Web page 2007 Office System Document: Lists of Control IDs.
.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.