共用方式為


IVsDebugger.QueryStatusForTextPos Method

Definition

Obsolete. Do not use.

public:
 int QueryStatusForTextPos(cli::array <Microsoft::VisualStudio::Shell::Interop::VsTextPos> ^ pTextPos, Guid % pguidCmdGroup, System::UInt32 cCmds, cli::array <Microsoft::VisualStudio::OLE::Interop::OLECMD> ^ prgCmds, IntPtr pCmdText);
public int QueryStatusForTextPos (Microsoft.VisualStudio.Shell.Interop.VsTextPos[] pTextPos, ref Guid pguidCmdGroup, uint cCmds, Microsoft.VisualStudio.OLE.Interop.OLECMD[] prgCmds, IntPtr pCmdText);
abstract member QueryStatusForTextPos : Microsoft.VisualStudio.Shell.Interop.VsTextPos[] * Guid * uint32 * Microsoft.VisualStudio.OLE.Interop.OLECMD[] * nativeint -> int
Public Function QueryStatusForTextPos (pTextPos As VsTextPos(), ByRef pguidCmdGroup As Guid, cCmds As UInteger, prgCmds As OLECMD(), pCmdText As IntPtr) As Integer

Parameters

pTextPos
VsTextPos[]

[in] Do not use.

pguidCmdGroup
Guid

[in] Do not use.

cCmds
UInt32

[in] Do not use.

prgCmds
OLECMD[]

[in, out] Do not use.

pCmdText
IntPtr

nativeint

[in, out] Do not use.

Returns

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  
);  

Applies to