Share via


IVsDebugger.QueryStatusForTextPos Method

Obsolete. Do not use.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function QueryStatusForTextPos ( _
    pTextPos As VsTextPos(), _
    ByRef pguidCmdGroup As Guid, _
    cCmds As UInteger, _
    <OutAttribute> prgCmds As OLECMD(), _
    <OutAttribute> pCmdText As IntPtr _
) As Integer
int QueryStatusForTextPos(
    VsTextPos[] pTextPos,
    ref Guid pguidCmdGroup,
    uint cCmds,
    OLECMD[] prgCmds,
    IntPtr pCmdText
)
int QueryStatusForTextPos(
    [InAttribute] array<VsTextPos>^ pTextPos, 
    [InAttribute] Guid% pguidCmdGroup, 
    [InAttribute] unsigned int cCmds, 
    [InAttribute] [OutAttribute] array<OLECMD>^ prgCmds, 
    [InAttribute] [OutAttribute] IntPtr pCmdText
)
abstract QueryStatusForTextPos : 
        pTextPos:VsTextPos[] * 
        pguidCmdGroup:Guid byref * 
        cCmds:uint32 * 
        prgCmds:OLECMD[] byref * 
        pCmdText:IntPtr byref -> int
function QueryStatusForTextPos(
    pTextPos : VsTextPos[], 
    pguidCmdGroup : Guid, 
    cCmds : uint, 
    prgCmds : OLECMD[], 
    pCmdText : IntPtr
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsDebugger::QueryStatusForTextPos(
   [in] VsTextPos *pTextPos,
   [unique][in] const GUID *pguidCmdGroup,
   [in] ULONG cCmds,
   [out][in][size_is (cCmds)] OLECMD prgCmds[ ],
   [unique][out][in] OLECMDTEXT *pCmdText
);

.NET Framework Security

See Also

Reference

IVsDebugger Interface

Microsoft.VisualStudio.Shell.Interop Namespace