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
'Dichiarazione
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
- pMarker
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker
[in] Pointer to the IVsTextMarker interface for the marker that was changed.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.