RibbonCollectionBase.GetRibbonContextCollection Метод

Определение

Перегрузки

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

GetRibbonContextCollection(Object, Type)

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

Параметры

contextWindow
Object
customRibbonType
Type

Возвращаемое значение

IList<IRibbonExtension>

Комментарии

Чтобы получить доступ к лентам в проекте, вызовите Ribbons свойство Globals класса. Для получения дополнительной информации см. Accessing the Ribbon at Run Time.

Применяется к

GetRibbonContextCollection<TRibbonCollection>(Object)

public TRibbonCollection GetRibbonContextCollection<TRibbonCollection> (object contextWindow);

Параметры типа

TRibbonCollection

Параметры

contextWindow
Object

Возвращаемое значение

TRibbonCollection

Комментарии

Чтобы получить доступ к лентам в проекте, вызовите Ribbons свойство Globals класса. Для получения дополнительной информации см. Accessing the Ribbon at Run Time.

Применяется к