RibbonControlId.OfficeId Property (2007 System)
Gets or sets an identifier for a Microsoft Office control.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Public Property OfficeId As String
'Usage
Dim instance As RibbonControlId
Dim value As String
value = instance.OfficeId
instance.OfficeId = value
public string OfficeId { get; set; }
public:
property String^ OfficeId {
String^ get ();
void set (String^ value);
}
public function get OfficeId () : String
public function set OfficeId (value : String)
Property Value
Type: System.String
A string that contains an identifier for an Office control.
Remarks
For a list of valid Office IDs, see 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.