Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
Syntax
'Declaration
Public Function GetRibbonContextCollection(Of TRibbonCollection) ( _
contextWindow As Object _
) As TRibbonCollection
public TRibbonCollection GetRibbonContextCollection<TRibbonCollection>(
Object contextWindow
)
Type Parameters
- TRibbonCollection
Parameters
- contextWindow
Type: System.Object
Return Value
Type: TRibbonCollection
Remarks
To access Ribbons in your project, call the Ribbons property of the Globals class. For more information, see Accessing the Ribbon at Run Time.
.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.