Partilhar via


IDocumentExtension.CreateRibbonObjects Method

Returns an array of IRibbonExtension objects that represent the Ribbon (Visual Designer) items to display in Word at run time.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

Syntax

'Declaration
Function CreateRibbonObjects As IRibbonExtension()
IRibbonExtension[] CreateRibbonObjects()

Return Value

Type: array<Microsoft.Office.Tools.Ribbon.IRibbonExtension[]
An array of IRibbonExtension objects that represent the Ribbon (Visual Designer) items to display in Word at run time.

Remarks

For more information about this method, see DocumentBase.CreateRibbonObjects.

.NET Framework Security

See Also

Reference

IDocumentExtension Interface

Microsoft.Office.Tools.Word Namespace