IVsSyntheticTextClient.ExecMarkerCommand Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
‘선언
Function ExecMarkerCommand ( _
pSynthReg As IVsSyntheticRegion, _
iItem As Integer _
) As Integer
‘사용 방법
Dim instance As IVsSyntheticTextClient
Dim pSynthReg As IVsSyntheticRegion
Dim iItem As Integer
Dim returnValue As Integer
returnValue = instance.ExecMarkerCommand(pSynthReg, _
iItem)
int ExecMarkerCommand(
IVsSyntheticRegion pSynthReg,
int iItem
)
int ExecMarkerCommand(
[InAttribute] IVsSyntheticRegion^ pSynthReg,
[InAttribute] int iItem
)
abstract ExecMarkerCommand :
pSynthReg:IVsSyntheticRegion *
iItem:int -> int
function ExecMarkerCommand(
pSynthReg : IVsSyntheticRegion,
iItem : int
) : int
Parameters
- pSynthReg
Type: Microsoft.VisualStudio.TextManager.Interop.IVsSyntheticRegion
[in] The synthetic region of interest.
- iItem
Type: System.Int32
[in] The marker command to exec. See MarkerCommandValues2.
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 textmgr.idl:
HRESULT IVsSyntheticTextClient::ExecMarkerCommand(
[in] IVsSyntheticRegion *pSynthReg,
[in] long iItem
);
.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.
See Also
Reference
IVsSyntheticTextClient Interface