IVsDebugger.ExecCmdForTextPos Method
Obsolete. Do not use.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣言
Function ExecCmdForTextPos ( _
pTextPos As VsTextPos(), _
ByRef pguidCmdGroup As Guid, _
nCmdID As UInteger, _
nCmdexecopt As UInteger, _
pvaIn As IntPtr, _
pvaOut As IntPtr _
) As Integer
'使用
Dim instance As IVsDebugger
Dim pTextPos As VsTextPos()
Dim pguidCmdGroup As Guid
Dim nCmdID As UInteger
Dim nCmdexecopt As UInteger
Dim pvaIn As IntPtr
Dim pvaOut As IntPtr
Dim returnValue As Integer
returnValue = instance.ExecCmdForTextPos(pTextPos, _
pguidCmdGroup, nCmdID, nCmdexecopt, _
pvaIn, pvaOut)
int ExecCmdForTextPos(
VsTextPos[] pTextPos,
ref Guid pguidCmdGroup,
uint nCmdID,
uint nCmdexecopt,
IntPtr pvaIn,
IntPtr pvaOut
)
int ExecCmdForTextPos(
[InAttribute] array<VsTextPos>^ pTextPos,
[InAttribute] Guid% pguidCmdGroup,
[InAttribute] unsigned int nCmdID,
[InAttribute] unsigned int nCmdexecopt,
[InAttribute] IntPtr pvaIn,
[InAttribute] IntPtr pvaOut
)
function ExecCmdForTextPos(
pTextPos : VsTextPos[],
pguidCmdGroup : Guid,
nCmdID : uint,
nCmdexecopt : uint,
pvaIn : IntPtr,
pvaOut : IntPtr
) : int
Parameters
pTextPos
Type: [][in] Do not use.
pguidCmdGroup
Type: System.Guid%[in] Do not use.
nCmdID
Type: System.UInt32[in] Do not use.
nCmdexecopt
Type: System.UInt32[in] Do not use.
pvaIn
Type: System.IntPtr[in] Do not use.
pvaOut
Type: System.IntPtr[in] 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::ExecCmdForTextPos(
[in] VsTextPos *pTextPos,
[unique][in] const GUID *pguidCmdGroup,
[in] DWORD nCmdID, [in] DWORD nCmdexecopt,
[unique][in] VARIANT *pvaIn,
[unique][out][in] VARIANT *pvaOut
);
Permissions
- 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.