共用方式為


_dispCommandBarControlEvents_ClickEventHandler 委派

這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

僅限 Microsoft 內部使用。

命名空間:  EnvDTE
組件:  EnvDTE (在 EnvDTE.dll 中)

語法

'宣告
<ComVisibleAttribute(False)> _
Public Delegate Sub _dispCommandBarControlEvents_ClickEventHandler ( _
    CommandBarControl As Object, _
    ByRef Handled As Boolean, _
    ByRef CancelDefault As Boolean _
)
[ComVisibleAttribute(false)]
public delegate void _dispCommandBarControlEvents_ClickEventHandler(
    Object CommandBarControl,
    ref bool Handled,
    ref bool CancelDefault
)
[ComVisibleAttribute(false)]
public delegate void _dispCommandBarControlEvents_ClickEventHandler(
    [InAttribute] Object^ CommandBarControl, 
    [InAttribute] bool% Handled, 
    [InAttribute] bool% CancelDefault
)
[<ComVisibleAttribute(false)>]
type _dispCommandBarControlEvents_ClickEventHandler = 
    delegate of 
        CommandBarControl:Object * 
        Handled:bool byref * 
        CancelDefault:bool byref -> unit
JScript 不支援委派。

參數

  • CancelDefault
    型別:System.Boolean%
    表示是否已經取消動作。

請參閱

參考

EnvDTE 命名空間