DocumentTask.MarkerInvalidated Method
Called when the text that is associated with a marker is deleted by a user action.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'Declaration
Public Overridable Sub MarkerInvalidated
public virtual void MarkerInvalidated()
public:
virtual void MarkerInvalidated()
abstract MarkerInvalidated : unit -> unit
override MarkerInvalidated : unit -> unit
public function MarkerInvalidated()
Implements
IVsTextMarkerClient.MarkerInvalidated()
Remarks
By default, this method sets the valid state of the marker to false. It is an implementation of MarkerInvalidated.
.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.