共用方式為


RibbonFactory.CreateRibbonLabel Method

Creates a RibbonLabel that represents a label on a RibbonGroup or RibbonBox.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Function CreateRibbonLabel As RibbonLabel
RibbonLabel CreateRibbonLabel()

Return Value

Type: Microsoft.Office.Tools.Ribbon.RibbonLabel
A Ribbon label.

.NET Framework Security

See Also

Reference

RibbonFactory Interface

Microsoft.Office.Tools.Ribbon Namespace