Freigeben über


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

'Declaration
Public Function DispatchCommand ( _
    cmdGuid As Guid, _
    cmdId As UInteger, _
    cmdExecOpt As UInteger, _
    pvaIn As IntPtr, _
    pvaOut As IntPtr _
) As Integer
'Usage
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

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

LanguageService Class

LanguageService Members

DispatchCommand Overload

Microsoft.VisualStudio.Package Namespace