CommandBarControl.Id Property
Returns the ID for a built-in command bar control.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
ReadOnly Property Id As Integer
Get
'Usage
Dim instance As CommandBarControl
Dim value As Integer
value = instance.Id
int Id { get; }
Property Value
Type: System.Int32
Remarks
A control's ID determines the built-in action for that control. The value of the Id property for all custom controls is 1.