Compartilhar via


CommandEventHandler Delegate

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

'Declaration
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.

Return Value

Type: Microsoft.VisualStudio.TestTools.Vsip.CommandResult
The event handler for command events.

See Also

Reference

Microsoft.VisualStudio.TestTools.Vsip Namespace