RibbonReadOnlyCollection.GetRibbonContextCollection(Object, Type) Method

Definition

Returns a collection of IRibbonExtension objects that are associated with a specified message class or application.

public:
 System::Collections::Generic::IList<Microsoft::Office::Tools::Ribbon::IRibbonExtension ^> ^ GetRibbonContextCollection(System::Object ^ contextWindow, Type ^ customRibbonType);
public System.Collections.Generic.IList<Microsoft.Office.Tools.Ribbon.IRibbonExtension> GetRibbonContextCollection (object contextWindow, Type customRibbonType);
abstract member GetRibbonContextCollection : obj * Type -> System.Collections.Generic.IList<Microsoft.Office.Tools.Ribbon.IRibbonExtension>
Public Function GetRibbonContextCollection (contextWindow As Object, customRibbonType As Type) As IList(Of IRibbonExtension)

Parameters

contextWindow
Object
customRibbonType
Type

Returns

Applies to