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
- customRibbonType
Typ: System.Type
Rückgabewert
Typ: Microsoft.Office.Tools.Ribbon.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.