다음을 통해 공유


IVsDebugger.QueryStatusForTextPos Method

Obsolete. Do not use.

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

Syntax

‘선언
Function QueryStatusForTextPos ( _
    pTextPos As VsTextPos(), _
    ByRef pguidCmdGroup As Guid, _
    cCmds As UInteger, _
    <OutAttribute> prgCmds As OLECMD(), _
    <OutAttribute> pCmdText As IntPtr _
) As Integer
‘사용 방법
Dim instance As IVsDebugger
Dim pTextPos As VsTextPos()
Dim pguidCmdGroup As Guid
Dim cCmds As UInteger
Dim prgCmds As OLECMD()
Dim pCmdText As IntPtr
Dim returnValue As Integer

returnValue = instance.QueryStatusForTextPos(pTextPos, _
    pguidCmdGroup, cCmds, prgCmds, pCmdText)
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

IVsDebugger Members

Microsoft.VisualStudio.Shell.Interop Namespace