Udostępnij za pośrednictwem


IVsTextMarkerClient.OnAfterMarkerChange(IVsTextMarker) Method

Definition

Signals that the marker position has changed.

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

Parameters

pMarker
IVsTextMarker

[in] Pointer to the IVsTextMarker interface for the marker that was changed.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextMarkerClient::OnAfterMarkerChange(  
   [in] IVsTextMarker* pMarker  
);  

This method is called when the marker moves in response to text being inserted in front of the marker. Use this notification to modify the task list, and so on.

Applies to