IVsDebugger.ExecCmdForTextPos 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
已过时。 请勿使用。
public:
int ExecCmdForTextPos(cli::array <Microsoft::VisualStudio::Shell::Interop::VsTextPos> ^ pTextPos, Guid % pguidCmdGroup, System::UInt32 nCmdID, System::UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut);
public int ExecCmdForTextPos (Microsoft.VisualStudio.Shell.Interop.VsTextPos[] pTextPos, ref Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut);
abstract member ExecCmdForTextPos : Microsoft.VisualStudio.Shell.Interop.VsTextPos[] * Guid * uint32 * uint32 * nativeint * nativeint -> int
Public Function ExecCmdForTextPos (pTextPos As VsTextPos(), ByRef pguidCmdGroup As Guid, nCmdID As UInteger, nCmdexecopt As UInteger, pvaIn As IntPtr, pvaOut As IntPtr) As Integer
参数
- pTextPos
- VsTextPos[]
中请勿使用。
- pguidCmdGroup
- Guid
中请勿使用。
- nCmdID
- UInt32
中请勿使用。
- nCmdexecopt
- UInt32
中请勿使用。
- pvaIn
-
IntPtr
nativeint
中请勿使用。
- pvaOut
-
IntPtr
nativeint
中请勿使用。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 vsshell:
HRESULT IVsDebugger::ExecCmdForTextPos(
[in] VsTextPos *pTextPos,
[unique][in] const GUID *pguidCmdGroup,
[in] DWORD nCmdID, [in] DWORD nCmdexecopt,
[unique][in] VARIANT *pvaIn,
[unique][out][in] VARIANT *pvaOut
);