RibbonReadOnlyCollection.GetRibbonContextCollection(Object, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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