Share via


_CommandBarComboBox.Tag Property

Returns or sets information about the command bar control, such as data that can be used as an argument in procedures, or information that identifies the control.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Property Tag As String
    Get
    Set
'Usage
Dim instance As _CommandBarComboBox
Dim value As String

value = instance.Tag

instance.Tag = value
string Tag { get; set; }

Property Value

Type: System.String

Implements

CommandBarControl.Tag

Remarks

To avoid duplicate calls of the same class when triggered with events, define the Tag property unique to the events.

See Also

Reference

_CommandBarComboBox Interface

_CommandBarComboBox Members

Tag Overload

Microsoft.Office.Core Namespace