CommandEventHandler Delegate
Represents the delegate for the event handler for command events.
Namespace: Microsoft.VisualStudio.TestTools.Vsip
Assembly: Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)
Syntax
声明
Public Delegate Function CommandEventHandler ( _
sender As Object, _
e As CommandEventArgs _
) As CommandResult
public delegate CommandResult CommandEventHandler(
Object sender,
CommandEventArgs e
)
public delegate CommandResult^ CommandEventHandler(
Object^ sender,
CommandEventArgs^ e
)
type CommandEventHandler =
delegate of
sender:Object *
e:CommandEventArgs -> CommandResult
JScript does not support delegates.
Parameters
- sender
Type: System.Object
The object that initiated the event.
- e
Type: Microsoft.VisualStudio.TestTools.Vsip.CommandEventArgs
A CommandEventArgs object.
Return Value
Type: Microsoft.VisualStudio.TestTools.Vsip.CommandResult
The event handler for command events.