Share via


RibbonOfficeMenu Constructor (2007 System)

This API supports the Visual Studio Tools for Office infrastructure and is not intended to be used directly from your code.

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

Syntax

'Declaration
Public Sub New
'Usage
Dim instance As New RibbonOfficeMenu()
public RibbonOfficeMenu()
public:
RibbonOfficeMenu()
public function RibbonOfficeMenu()

Remarks

You cannot use the RibbonOfficeMenu to create an instance of the RibbonOfficeMenu class at run time.

When you add a Ribbon (Visual Designer) item to your project, Visual Studio Tools for Office automatically instantiates a RibbonOfficeMenu and assigns it to the OfficeMenu property of the OfficeRibbon class that is added to your project.

.NET Framework Security

See Also

Reference

RibbonOfficeMenu Class

RibbonOfficeMenu Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

How to: Customize the Microsoft Office Menu

Ribbon Object Model Overview