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
- contextWindow
Typ: System.Object
- customRibbonType
Typ: System.Type
Rückgabewert
Typ: System.Collections.Generic.IList<IRibbonExtension>
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.