共用方式為


_CommandBarComboBoxEvents_ChangeEventHandler Delegate

The event handler for the command bar combo box Change event.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'宣告
<ComVisibleAttribute(False)> _
Public Delegate Sub _CommandBarComboBoxEvents_ChangeEventHandler ( _
    Ctrl As CommandBarComboBox _
)
'用途
Dim instance As New _CommandBarComboBoxEvents_ChangeEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void _CommandBarComboBoxEvents_ChangeEventHandler(
    CommandBarComboBox Ctrl
)
[ComVisibleAttribute(false)]
public delegate void _CommandBarComboBoxEvents_ChangeEventHandler(
    [InAttribute] CommandBarComboBox^ Ctrl
)
[<ComVisibleAttribute(false)>]
type _CommandBarComboBoxEvents_ChangeEventHandler = 
    delegate of 
        Ctrl:CommandBarComboBox -> unit
JScript does not support delegates.

Parameters

See Also

Reference

Microsoft.VisualStudio.CommandBars Namespace