OfficeRibbon.RibbonId Property (2007 System)

Gets the Ribbon ID that was used to create this instance of the OfficeRibbon class.

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

Syntax

'Declaration
Public Property RibbonId As String
'Usage
Dim instance As OfficeRibbon 
Dim value As String 

value = instance.RibbonId

instance.RibbonId = value
public string RibbonId { get; internal set; }
public:
property String^ RibbonId {
    String^ get ();
    void set (String^ value);
}
public function get RibbonId () : String 
public function set RibbonId (value : String)

Property Value

Type: System.String
The Ribbon ID that was used to create this instance of the OfficeRibbon class.

Remarks

You should not attempt to set this property.

You can use the RibbonType property to get all of the Ribbon IDs that are associated with this OfficeRibbon instance. The RibbonId property returns only the single ID that was used to create this OfficeRibbon instance. For example, you can use this property to determine whether this Ribbon instance is being displayed in a mail composition item.

.NET Framework Security

See Also

Reference

OfficeRibbon Class

OfficeRibbon Members

Microsoft.Office.Tools.Ribbon Namespace