DocumentTask.OnAfterMarkerChange Method
Signals that the marker position has changed.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Syntax
'Declaração
Public Overridable Function OnAfterMarkerChange ( _
marker As IVsTextMarker _
) As Integer
public virtual int OnAfterMarkerChange(
IVsTextMarker marker
)
Parameters
- marker
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker
The marker that has changed.
Return Value
Type: System.Int32
When this method is implemented by derived classes, if it 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.
.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.