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
- pTextPos
Type: array<Microsoft.VisualStudio.Shell.Interop.VsTextPos[]
[in] Do not use.
- pguidCmdGroup
Type: System.Guid%
[in] Do not use.
- cCmds
Type: System.UInt32
[in] Do not use.
- prgCmds
Type: array<Microsoft.VisualStudio.OLE.Interop.OLECMD[]
[in, out] Do not use.
- pCmdText
Type: System.IntPtr
[in, out] Do not use.
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
- 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.