RibbonReadOnlyCollection.GetRibbonContextCollection-Methode

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

Gibt eine Auflistung von IRibbonExtension-Objekten zurück, die einer angegebenen Nachrichtenklasse oder Anwendung zugeordnet sind.

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

Syntax

'Declaration
Function GetRibbonContextCollection ( _
    contextWindow As Object, _
    customRibbonType As Type _
) As IList(Of IRibbonExtension)
IList<IRibbonExtension> GetRibbonContextCollection(
    Object contextWindow,
    Type customRibbonType
)

Parameter

Rückgabewert

Typ: System.Collections.Generic.IList<IRibbonExtension>

.NET Framework-Sicherheit

Siehe auch

Referenz

RibbonReadOnlyCollection Schnittstelle

Microsoft.Office.Tools.Ribbon-Namespace