Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the parameters for a command.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaration
Protected Overridable Function QueryParameterList ( _
ByRef guidCmdGroup As Guid, _
id As UInteger, _
options As UInteger, _
pvaIn As IntPtr, _
pvaOut As IntPtr _
) As Integer
'Usage
Dim guidCmdGroup As Guid
Dim id As UInteger
Dim options As UInteger
Dim pvaIn As IntPtr
Dim pvaOut As IntPtr
Dim returnValue As Integer
returnValue = Me.QueryParameterList(guidCmdGroup, _
id, options, pvaIn, pvaOut)
protected virtual int QueryParameterList(
ref Guid guidCmdGroup,
uint id,
uint options,
IntPtr pvaIn,
IntPtr pvaOut
)
protected:
virtual int QueryParameterList(
Guid% guidCmdGroup,
unsigned int id,
unsigned int options,
IntPtr pvaIn,
IntPtr pvaOut
)
abstract QueryParameterList :
guidCmdGroup:Guid byref *
id:uint32 *
options:uint32 *
pvaIn:IntPtr *
pvaOut:IntPtr -> int
override QueryParameterList :
guidCmdGroup:Guid byref *
id:uint32 *
options:uint32 *
pvaIn:IntPtr *
pvaOut:IntPtr -> int
protected function QueryParameterList(
guidCmdGroup : Guid,
id : uint,
options : uint,
pvaIn : IntPtr,
pvaOut : IntPtr
) : int
Parameters
- guidCmdGroup
Type: System.Guid%
The GUID of the command group to which the command belongs.
- id
Type: System.UInt32
The ID of the command.
- options
Type: System.UInt32
Values taken from the OLECMDEXECOPT enumeration, which describe how the object should execute the command.
- pvaIn
Type: System.IntPtr
Pointer to a VARIANTARG structure containing input arguments. Can be nulla null reference (Nothing in Visual Basic).
- pvaOut
Type: System.IntPtr
Pointer to a VARIANTARG structure containing output data. This should be pre-allocated as an empty Object ready to receive the result string.
Return Value
Type: System.Int32
Usually returns S_OK if the command succeeded, or OLECMDERR_E_NOTSUPPORTED().
Remarks
This method is called by Exec() is called with
nCmdexecopt equal to OLECMDEXECOPT_SHOWHELP() in the low order bit and VSCmdOptQueryParameterList in the high order bit.
.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.