Dela via


RibbonFactory.CreateOfficeRibbon Method

Creates a OfficeRibbon object that represents a Ribbon customization.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  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