RibbonFactory.CreateRibbonReadOnlyCollection Method

Creates a RibbonMenu object that provides access to the IRibbonExtension objects in a Ribbon customization.

Namespace:  Microsoft.Office.Tools.Ribbon
Assemblies:   Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
  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