Método RibbonCollectionBase.GetRibbonContextCollection (Object, Type)

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 ( _
    contextWindow As Object, _
    customRibbonType As Type _
) As IList(Of IRibbonExtension)
public IList<IRibbonExtension> GetRibbonContextCollection(
    Object contextWindow,
    Type customRibbonType
)

Parâmetros

Valor de retorno

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

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