Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Execute the specified marker command on the specified synthetic region.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function ExecMarkerCommand ( _
pSynthReg As IVsSyntheticRegion, _
iItem As Integer _
) As Integer
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 execute. See MarkerCommandValues.
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.