次の方法で共有


SimpleEditorView.QueryParameterList Method

Gets the parameters for a command.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'宣言
Protected Overridable Function QueryParameterList ( _
    ByRef guidCmdGroup As Guid, _
    id As UInteger, _
    options As UInteger, _
    pvaIn As IntPtr, _
    pvaOut As IntPtr _
) As Integer
protected virtual int QueryParameterList(
    ref Guid guidCmdGroup,
    uint id,
    uint options,
    IntPtr pvaIn,
    IntPtr pvaOut
)

Parameters

  • guidCmdGroup
    Type: System.Guid%
    The GUID of the command group to which the command belongs.
  • 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

See Also

Reference

SimpleEditorView Class

Microsoft.VisualStudio.Package Namespace