IVsTextLayerMarker.ExecMarkerCommand Method
Executes the specified marker command.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function ExecMarkerCommand ( _
iItem As Integer _
) As Integer
int ExecMarkerCommand(
int iItem
)
int ExecMarkerCommand(
[InAttribute] int iItem
)
abstract ExecMarkerCommand :
iItem:int -> int
function ExecMarkerCommand(
iItem : int
) : int
Parameters
iItem
Type: System.Int32[in] The marker command value, 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 IVsTextLayerMarker::ExecMarkerCommand(
[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.