Udostępnij za pośrednictwem


Metoda RibbonReadOnlyCollection.GetRibbon —

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

Zwraca wystąpienie IRibbonExtension określonego typu, jeśli istnieje w tym RibbonReadOnlyCollection.

Przestrzeń nazw:  Microsoft.Office.Tools.Ribbon
Zestawy:   Microsoft.Office.Tools.Common.v4.0.Utilities (w Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Common (w Microsoft.Office.Tools.Common.dll)

Składnia

'Deklaracja
Function GetRibbon ( _
    customRibbonType As Type _
) As IRibbonExtension
IRibbonExtension GetRibbon(
    Type customRibbonType
)

Parametry

Wartość zwracana

Typ: Microsoft.Office.Tools.Ribbon.IRibbonExtension

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

RibbonReadOnlyCollection Interfejs

Przestrzeń nazw Microsoft.Office.Tools.Ribbon