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)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Syntax
'宣言
Public Function DispatchCommand ( _
cmdGuid As Guid, _
cmdId As UInteger, _
cmdExecOpt As UInteger, _
pvaIn As IntPtr, _
pvaOut As IntPtr _
) As Integer
public int DispatchCommand(
Guid cmdGuid,
uint cmdId,
uint cmdExecOpt,
IntPtr pvaIn,
IntPtr pvaOut
)
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.