Share via


_CommandBarComboBox.Clear Method

Removes all list items from a command bar combo box control (drop-down list box or combo box) and clears the text box (edit box or combo box).

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

Syntax

'Declaration
Sub Clear
'Usage
Dim instance As _CommandBarComboBox

instance.Clear()
void Clear()

Remarks

This method will fail if it's applied to a built-in command bar control.

Notes to Callers

See Also

Reference

_CommandBarComboBox Interface

_CommandBarComboBox Members

Microsoft.Office.Core Namespace