Signals that the marker position has changed.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'宣言
Public Overridable Function OnAfterMarkerChange ( _
marker As IVsTextMarker _
) As Integer
'使用
Dim instance As DocumentTask
Dim marker As IVsTextMarker
Dim returnValue As Integer
returnValue = instance.OnAfterMarkerChange(marker)
public virtual int OnAfterMarkerChange(
IVsTextMarker marker
)
public:
virtual int OnAfterMarkerChange(
IVsTextMarker^ marker
)
public function OnAfterMarkerChange(
marker : IVsTextMarker
) : int
Parameters
marker
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextMarkerThe marker that has changed.
Return Value
Type: System.Int32
When implemented by derived classes, if the method succeeds, it returns S_OK(). If it fails, it returns an error code.
Implements
IVsTextMarkerClient.OnAfterMarkerChange(IVsTextMarker)
Remarks
By default this method does nothing and returns S_OK(). It is an implementation of OnAfterMarkerChange.
Permissions
- 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.