Share via


BaseEditorPane.IOleCommandTarget.Exec Method

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Private Function Exec ( _
    ByRef pguidCmdGroup As Guid, _
    cmdId As UInteger, _
    nCmdexecopt As UInteger, _
    pvaIn As IntPtr, _
    pvaOut As IntPtr _
) As Integer Implements IOleCommandTarget.Exec
'Usage
Dim instance As BaseEditorPane
Dim pguidCmdGroup As Guid
Dim cmdId As UInteger
Dim nCmdexecopt As UInteger
Dim pvaIn As IntPtr
Dim pvaOut As IntPtr
Dim returnValue As Integer

returnValue = CType(instance, IOleCommandTarget).Exec(pguidCmdGroup, _
    cmdId, nCmdexecopt, pvaIn, pvaOut)
int IOleCommandTarget.Exec(
    ref Guid pguidCmdGroup,
    uint cmdId,
    uint nCmdexecopt,
    IntPtr pvaIn,
    IntPtr pvaOut
)
private:
virtual int Exec(
    Guid% pguidCmdGroup, 
    unsigned int cmdId, 
    unsigned int nCmdexecopt, 
    IntPtr pvaIn, 
    IntPtr pvaOut
) sealed = IOleCommandTarget::Exec
JScript does not support explicit interface implementations.
private abstract Exec : 
        pguidCmdGroup:Guid * 
        cmdId:uint32 * 
        nCmdexecopt:uint32 * 
        pvaIn:IntPtr * 
        pvaOut:IntPtr -> int 
private override Exec : 
        pguidCmdGroup:Guid * 
        cmdId:uint32 * 
        nCmdexecopt:uint32 * 
        pvaIn:IntPtr * 
        pvaOut:IntPtr -> int 

Parameters

Return Value

Type: System.Int32

Implements

IOleCommandTarget.Exec(Guid%, UInt32, UInt32, IntPtr, IntPtr)

.NET Framework Security

See Also

Reference

BaseEditorPane Class

BaseEditorPane Members

Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace