Share via


_CommandBarComboBox.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 _CommandBarComboBox
Dim value As Integer

value = instance.Id
int Id { get; }

Property Value

Type: System.Int32

Implements

CommandBarControl.Id

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.

See Also

Reference

_CommandBarComboBox Interface

_CommandBarComboBox Members

Id Overload

Microsoft.Office.Core Namespace