DocumentTask::OnAfterMarkerChange Method (IVsTextMarker^)

 

Signals that the marker position has changed.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual int OnAfterMarkerChange(
	IVsTextMarker^ marker
)

Parameters

marker
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextMarker^

The marker that has changed.

Return Value

Type: System::Int32

When this method is implemented by 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 OnAfterMarkerChange.

Return to top
Show: