IVsTextMarkerClient.OnAfterMarkerChange Method

Signals that the marker position has changed.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣言
Function OnAfterMarkerChange ( _
    pMarker As IVsTextMarker _
) As Integer
'使用
Dim instance As IVsTextMarkerClient
Dim pMarker As IVsTextMarker
Dim returnValue As Integer

returnValue = instance.OnAfterMarkerChange(pMarker)
int OnAfterMarkerChange(
    IVsTextMarker pMarker
)
int OnAfterMarkerChange(
    [InAttribute] IVsTextMarker^ pMarker
)
function OnAfterMarkerChange(
    pMarker : IVsTextMarker
) : int

Parameters

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 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.

Permissions

See Also

Reference

IVsTextMarkerClient Interface

IVsTextMarkerClient Members

Microsoft.VisualStudio.TextManager.Interop Namespace