共用方式為


QueuedCommand.CanExecuteHandler 委派

命名空間:  Microsoft.TeamFoundation.MVVM
組件:  Microsoft.TeamFoundation.Controls (在 Microsoft.TeamFoundation.Controls.dll 中)

語法

'宣告
Public Delegate Function CanExecuteHandler ( _
    sender As Object, _
    e As QueuedCommandCanExecuteEventArgs _
) As Boolean
public delegate bool CanExecuteHandler(
    Object sender,
    QueuedCommandCanExecuteEventArgs e
)

參數

傳回值

型別:System.Boolean

請參閱

參考

Microsoft.TeamFoundation.MVVM 命名空間