Freigeben über


RibbonReadOnlyCollection.GetRibbon(Type) Method

Definition

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

Returns

Applies to