Condividi tramite


RibbonFactory.CreateOfficeRibbon Method

Creates a OfficeRibbon object that represents 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 CreateOfficeRibbon ( _
    extension As IRibbonExtension _
) As OfficeRibbon
OfficeRibbon CreateOfficeRibbon(
    IRibbonExtension extension
)

Parameters

Return Value

Type: Microsoft.Office.Tools.Ribbon.OfficeRibbon
A Ribbon customization.

.NET Framework Security

See Also

Reference

RibbonFactory Interface

Microsoft.Office.Tools.Ribbon Namespace