RibbonReadOnlyCollection.GetRibbon-Methode

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

Gibt eine Instanz einer IRibbonExtension des angegebenen Typs zurück, sofern sie in RibbonReadOnlyCollection vorhanden ist.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Function GetRibbon ( _
    customRibbonType As Type _
) As IRibbonExtension
IRibbonExtension GetRibbon(
    Type customRibbonType
)

Parameter

Rückgabewert

Typ: Microsoft.Office.Tools.Ribbon.IRibbonExtension

.NET Framework-Sicherheit

Siehe auch

Referenz

RibbonReadOnlyCollection Schnittstelle

Microsoft.Office.Tools.Ribbon-Namespace