RibbonCollectionBase.GetRibbonContextCollection Methode

Definition

Überlädt

GetRibbonContextCollection(Object, Type)
GetRibbonContextCollection<TRibbonCollection>(Object)

GetRibbonContextCollection(Object, Type)

public System.Collections.Generic.IList<Microsoft.Office.Tools.Ribbon.IRibbonExtension> GetRibbonContextCollection (object contextWindow, Type customRibbonType);

Parameter

contextWindow
Object
customRibbonType
Type

Gibt zurück

IList<IRibbonExtension>

Hinweise

Um auf Menü Bänder im Projekt zuzugreifen, müssen Sie die- Ribbons Eigenschaft der- Globals Klasse aufrufen. Weitere Informationen finden Sie unter Accessing the Ribbon at Run Time.

Gilt für

GetRibbonContextCollection<TRibbonCollection>(Object)

public TRibbonCollection GetRibbonContextCollection<TRibbonCollection> (object contextWindow);

Typparameter

TRibbonCollection

Parameter

contextWindow
Object

Gibt zurück

TRibbonCollection

Hinweise

Um auf Menü Bänder im Projekt zuzugreifen, müssen Sie die- Ribbons Eigenschaft der- Globals Klasse aufrufen. Weitere Informationen finden Sie unter Accessing the Ribbon at Run Time.

Gilt für