DocumentTask::ExecMarkerCommand Method (IVsTextMarker^, Int32)
Visual Studio 2015
Executes a command on a specific marker in the text buffer.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- marker
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextMarker^
The marker on which to execute the command.
- item
-
Type:
System::Int32
The ID of the command to execute. The values should be taken from MarkerCommandValues.
Return Value
Type: System::Int32When this method is implemented in derived classes, if it succeeds, it returns F:Microsoft.VisualStudio.NativeMethods.S_OK. If it fails, it returns an error code.
By default, this method does nothing and returns F:Microsoft.VisualStudio.NativeMethods.S_OK. It is an implementation of ExecMarkerCommand.
Show: