Share via


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

See Also

Reference

RibbonFactory Interface

Microsoft.Office.Tools.Ribbon Namespace