Compartilhar via


Método RibbonReadOnlyCollection.GetRibbon

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

Retorna uma instância de IRibbonExtension do tipo especificado, se ele existir neste RibbonReadOnlyCollection.

Namespace:  Microsoft.Office.Tools.Ribbon
Assemblies:   Microsoft.Office.Tools.Common.v4.0.Utilities (em Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Common (em Microsoft.Office.Tools.Common.dll)

Sintaxe

'Declaração
Function GetRibbon ( _
    customRibbonType As Type _
) As IRibbonExtension
IRibbonExtension GetRibbon(
    Type customRibbonType
)

Parâmetros

Valor de retorno

Tipo: Microsoft.Office.Tools.Ribbon.IRibbonExtension

Segurança do .NET Framework

Consulte também

Referência

RibbonReadOnlyCollection Interface

Namespace Microsoft.Office.Tools.Ribbon