次の方法で共有


Package.IOleCommandTarget.Exec Method

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'宣言
Private Function Exec ( _
    ByRef guidGroup As Guid, _
    nCmdId As UInteger, _
    nCmdExcept As UInteger, _
    pIn As IntPtr, _
    vOut As IntPtr _
) As Integer Implements IOleCommandTarget.Exec
'使用
Dim instance As Package
Dim guidGroup As Guid
Dim nCmdId As UInteger
Dim nCmdExcept As UInteger
Dim pIn As IntPtr
Dim vOut As IntPtr
Dim returnValue As Integer

returnValue = CType(instance, IOleCommandTarget).Exec(guidGroup, _
    nCmdId, nCmdExcept, pIn, vOut)
int IOleCommandTarget.Exec(
    ref Guid guidGroup,
    uint nCmdId,
    uint nCmdExcept,
    IntPtr pIn,
    IntPtr vOut
)
private:
virtual int Exec(
    Guid% guidGroup, 
    unsigned int nCmdId, 
    unsigned int nCmdExcept, 
    IntPtr pIn, 
    IntPtr vOut
) sealed = IOleCommandTarget::Exec
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32

Implements

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

Permissions

See Also

Reference

Package Class

Package Members

Microsoft.VisualStudio.Shell Namespace