次の方法で共有


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
int OnAfterMarkerChange(
    IVsTextMarker pMarker
)
int OnAfterMarkerChange(
    [InAttribute] IVsTextMarker^ pMarker
)
abstract OnAfterMarkerChange : 
        pMarker:IVsTextMarker -> int 
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.

.NET Framework Security

See Also

Reference

IVsTextMarkerClient Interface

Microsoft.VisualStudio.TextManager.Interop Namespace