Share via


DataPackage.IOleCommandTarget.Exec Method

Executes the specified command or displays help for the command.

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

Syntax

'Declaration
Private Function Exec ( _
    ByRef pguidCmdGroup As Guid, _
    cmdId As UInteger, _
    cmdExecOpt As UInteger, _
    vaIn As IntPtr, _
    vaOut As IntPtr _
) As Integer Implements IOleCommandTarget.Exec
int IOleCommandTarget.Exec(
    ref Guid pguidCmdGroup,
    uint cmdId,
    uint cmdExecOpt,
    IntPtr vaIn,
    IntPtr vaOut
)
private:
virtual int Exec(
    Guid% pguidCmdGroup, 
    unsigned int cmdId, 
    unsigned int cmdExecOpt, 
    IntPtr vaIn, 
    IntPtr vaOut
) sealed = IOleCommandTarget::Exec
private abstract Exec : 
        pguidCmdGroup:Guid byref * 
        cmdId:uint32 * 
        cmdExecOpt:uint32 * 
        vaIn:IntPtr * 
        vaOut:IntPtr -> int 
private override Exec : 
        pguidCmdGroup:Guid byref * 
        cmdId:uint32 * 
        cmdExecOpt:uint32 * 
        vaIn:IntPtr * 
        vaOut:IntPtr -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32

Implements

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

.NET Framework Security

See Also

Reference

DataPackage Class

Microsoft.VisualStudio.Data.Schema.Package.UI Namespace