Método RibbonCollectionBase.GetRibbonContextCollection<TRibbonCollection> (Object)

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 (em Microsoft.Office.Tools.Common.v4.0.Utilities.dll)

Sintaxe

'Declaração
Public Function GetRibbonContextCollection(Of TRibbonCollection) ( _
    contextWindow As Object _
) As TRibbonCollection
public TRibbonCollection GetRibbonContextCollection<TRibbonCollection>(
    Object contextWindow
)

Parâmetros de tipo

  • TRibbonCollection

Parâmetros

Valor de retorno

Tipo: TRibbonCollection

Comentários

Para acessar fitas em seu projeto, chame a propriedade de Ribbons da classe de Globals .Para obter mais informações, consulte Acessando a faixa de opções em tempo de execução.

Segurança do .NET Framework

Consulte também

Referência

RibbonCollectionBase Classe

Sobrecargas GetRibbonContextCollection

Namespace Microsoft.Office.Tools.Ribbon