Udostępnij za pośrednictwem


Metoda RibbonReadOnlyCollection.GetRibbonContextCollection —

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

Zwraca kolekcję IRibbonExtension obiektów, które są skojarzone z określonej klasy wiadomości lub aplikacji.

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

Parametry

Wartość zwracana

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

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

RibbonReadOnlyCollection Interfejs

Przestrzeń nazw Microsoft.Office.Tools.Ribbon