Partilhar via


DocumentTask.OnAfterMarkerChange(IVsTextMarker) Method

Definition

Signals that the marker position has changed.

public:
 virtual int OnAfterMarkerChange(Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker ^ marker);
public:
 virtual int OnAfterMarkerChange(Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker ^ marker);
 virtual int OnAfterMarkerChange(Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker const & marker);
public virtual int OnAfterMarkerChange (Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker marker);
abstract member OnAfterMarkerChange : Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker -> int
override this.OnAfterMarkerChange : Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker -> int
Public Overridable Function OnAfterMarkerChange (marker As IVsTextMarker) As Integer

Parameters

marker
IVsTextMarker

The marker that has changed.

Returns

When this method is implemented by derived classes, if it succeeds, it returns Microsoft.VisualStudio.NativeMethods.S_OK. If it fails, it returns an error code.

Implements

Remarks

By default, this method does nothing and returns <xref:Microsoft.VisualStudio.NativeMethods.S_OK>. It is an implementation of OnAfterMarkerChange.

Applies to