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
- 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.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace