RibbonFactory.CreateRibbonReadOnlyCollection Method
Creates a RibbonMenu object that provides access to the IRibbonExtension objects in a Ribbon customization.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Function CreateRibbonReadOnlyCollection As RibbonReadOnlyCollection
RibbonReadOnlyCollection CreateRibbonReadOnlyCollection()
Return Value
Type: Microsoft.Office.Tools.Ribbon.RibbonReadOnlyCollection
An object that provides access to the IRibbonExtension objects in a Ribbon customization.
.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.