LanguageService.DispatchCommand Method (Guid, UInt32, UInt32, IntPtr, IntPtr)
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Syntax
'Déclaration
Public Function DispatchCommand ( _
cmdGuid As Guid, _
cmdId As UInteger, _
cmdExecOpt As UInteger, _
pvaIn As IntPtr, _
pvaOut As IntPtr _
) As Integer
'Utilisation
Dim instance As LanguageService
Dim cmdGuid As Guid
Dim cmdId As UInteger
Dim cmdExecOpt As UInteger
Dim pvaIn As IntPtr
Dim pvaOut As IntPtr
Dim returnValue As Integer
returnValue = instance.DispatchCommand(cmdGuid, _
cmdId, cmdExecOpt, pvaIn, pvaOut)
public int DispatchCommand(
Guid cmdGuid,
uint cmdId,
uint cmdExecOpt,
IntPtr pvaIn,
IntPtr pvaOut
)
public:
int DispatchCommand(
Guid cmdGuid,
unsigned int cmdId,
unsigned int cmdExecOpt,
IntPtr pvaIn,
IntPtr pvaOut
)
member DispatchCommand :
cmdGuid:Guid *
cmdId:uint32 *
cmdExecOpt:uint32 *
pvaIn:IntPtr *
pvaOut:IntPtr -> int
public function DispatchCommand(
cmdGuid : Guid,
cmdId : uint,
cmdExecOpt : uint,
pvaIn : IntPtr,
pvaOut : IntPtr
) : int
Parameters
- cmdGuid
Type: System.Guid
- cmdId
Type: System.UInt32
- cmdExecOpt
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.