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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.