Partager via


CommandHandler Delegate

This API is not CLS-compliant. 

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
<CLSCompliantAttribute(False)> _
Public Delegate Sub CommandHandler ( _
    sender As IVsUIDispatch, _
    verb As String, _
    argumentIn As Object, _
    <OutAttribute> ByRef argumentOut As Object _
)
'Utilisation
Dim instance As New CommandHandler(AddressOf HandlerMethod)
[CLSCompliantAttribute(false)]
public delegate void CommandHandler(
    IVsUIDispatch sender,
    string verb,
    Object argumentIn,
    out Object argumentOut
)
[CLSCompliantAttribute(false)]
public delegate void CommandHandler(
    IVsUIDispatch^ sender, 
    String^ verb, 
    Object^ argumentIn, 
    [OutAttribute] Object^% argumentOut
)
[<CLSCompliantAttribute(false)>]
type CommandHandler = 
    delegate of 
        sender:IVsUIDispatch * 
        verb:string * 
        argumentIn:Object * 
        argumentOut:Object byref -> unit
JScript does not support delegates.

Parameters

See Also

Reference

Microsoft.Internal.VisualStudio.PlatformUI Namespace