RibbonReadOnlyCollection.GetRibbon(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 an instance of an IRibbonExtension of the specified type, if it exists in this RibbonReadOnlyCollection.
public:
Microsoft::Office::Tools::Ribbon::IRibbonExtension ^ GetRibbon(Type ^ customRibbonType);
public Microsoft.Office.Tools.Ribbon.IRibbonExtension GetRibbon (Type customRibbonType);
abstract member GetRibbon : Type -> Microsoft.Office.Tools.Ribbon.IRibbonExtension
Public Function GetRibbon (customRibbonType As Type) As IRibbonExtension
Parameters
- customRibbonType
- Type