共用方式為


RibbonControl.Id Property

Gets a string that Microsoft Office uses to identify this RibbonControl object.

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

Syntax

'Declaration
ReadOnly Property Id As String
string Id { get; }

Property Value

Type: System.String
A string that Microsoft Office uses to identify this RibbonControl object.

.NET Framework Security

See Also

Reference

RibbonControl Interface

Microsoft.Office.Tools.Ribbon Namespace