RibbonBase Constructor
This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the RibbonBase class.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
Syntax
'Declaration
Public Sub New ( _
factory As RibbonFactory _
)
public RibbonBase(
RibbonFactory factory
)
Parameters
- factory
Type: Microsoft.Office.Tools.Ribbon.RibbonFactory
Remarks
Do not use this constructor to create an instance of the RibbonBase class. When you add a new Ribbon (Visual Designer) item to a project, Visual Studio creates an instance of a class that inherits from RibbonBase.
.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.