FlavoredProjectBase.ExecCommand Method
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Syntax
'Dichiarazione
Protected Overridable Function ExecCommand ( _
itemid As UInteger, _
ByRef pguidCmdGroup As Guid, _
nCmdID As UInteger, _
nCmdexecopt As UInteger, _
pvaIn As IntPtr, _
pvaOut As IntPtr _
) As Integer
'Utilizzo
Dim itemid As UInteger
Dim pguidCmdGroup As Guid
Dim nCmdID As UInteger
Dim nCmdexecopt As UInteger
Dim pvaIn As IntPtr
Dim pvaOut As IntPtr
Dim returnValue As Integer
returnValue = Me.ExecCommand(itemid, _
pguidCmdGroup, nCmdID, nCmdexecopt, _
pvaIn, pvaOut)
protected virtual int ExecCommand(
uint itemid,
ref Guid pguidCmdGroup,
uint nCmdID,
uint nCmdexecopt,
IntPtr pvaIn,
IntPtr pvaOut
)
protected:
virtual int ExecCommand(
unsigned int itemid,
Guid% pguidCmdGroup,
unsigned int nCmdID,
unsigned int nCmdexecopt,
IntPtr pvaIn,
IntPtr pvaOut
)
abstract ExecCommand :
itemid:uint32 *
pguidCmdGroup:Guid byref *
nCmdID:uint32 *
nCmdexecopt:uint32 *
pvaIn:IntPtr *
pvaOut:IntPtr -> int
override ExecCommand :
itemid:uint32 *
pguidCmdGroup:Guid byref *
nCmdID:uint32 *
nCmdexecopt:uint32 *
pvaIn:IntPtr *
pvaOut:IntPtr -> int
protected function ExecCommand(
itemid : uint,
pguidCmdGroup : Guid,
nCmdID : uint,
nCmdexecopt : uint,
pvaIn : IntPtr,
pvaOut : IntPtr
) : int
Parameters
- itemid
Type: System.UInt32
- pguidCmdGroup
Type: System.Guid%
- nCmdID
Type: System.UInt32
- nCmdexecopt
Type: System.UInt32
- pvaIn
Type: System.IntPtr
- pvaOut
Type: System.IntPtr
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.